PKGBUILDs/community/vlock/vlock.install

19 lines
325 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
post_install() {
echo -n 'Adding vlock group... '
groupadd -g 129 vlock && echo 'done.'
}
post_upgrade() {
cut -d: -f1 /etc/group | grep ^vlock$ >/dev/null
if [ $? == 1 ] ; then
post_install
fi
}
post_remove() {
echo -n 'Removing vlock group... '
groupdel vlock && echo 'done.'
}
# vim:set ts=2 sw=2 et: