Modify the INSTALL/REMOVE scripts to use predef vars and unneeded chroot calls.

--HG--
extra : convert_revision : dfd737c502bea327054ecff5bc1fa152db6e2009
This commit is contained in:
Juan RP
2009-04-08 03:24:57 +02:00
parent 201be83c73
commit acd07f61e3
8 changed files with 44 additions and 44 deletions

View File

@@ -1,10 +1,10 @@
#
# This script removes the policykit user/group.
#
case "$2" in
case "${ACTION}" in
pre)
chroot . userdel policykit &>/dev/null
[ $? -eq 0 ] && echo "Removed policykit system user/group."
userdel policykit 2>&1 >/dev/null
[ $? -eq 0 ] && echo "Removed ${PKGNAME} system user/group."
;;
post)
;;