aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pop3vscan/pkg-install
blob: c5dfa4bb2b5b6bd3da3909db9c4f002e26ee789f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

case $2 in

POST-INSTALL)
    user=pop3vscan
    group=mail
    spooldir=/var/spool/pop3vscan

    echo "Fixing ownerships and modes in \"${spooldir}\"."
    chown -R ${user}:${group} ${spooldir}
    chmod -R go= ${spooldir}

    ;;
esac