mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
18 lines
325 B
Text
18 lines
325 B
Text
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:
|