[Pkg-virtualbox-commits] r52 - trunk/debian

meskes at alioth.debian.org meskes at alioth.debian.org
Sun Sep 23 12:20:11 UTC 2007


Author: meskes
Date: 2007-09-23 12:20:11 +0000 (Sun, 23 Sep 2007)
New Revision: 52

Modified:
   trunk/debian/virtualbox-ose.postrm
Log:
Fixed several problems in postrm.



Modified: trunk/debian/virtualbox-ose.postrm
===================================================================
--- trunk/debian/virtualbox-ose.postrm	2007-09-23 11:58:26 UTC (rev 51)
+++ trunk/debian/virtualbox-ose.postrm	2007-09-23 12:20:11 UTC (rev 52)
@@ -3,17 +3,10 @@
 action="$1"
 oldversion="$2"
 
-remove_vboxusers_group() {
-        if ! getent group vboxusers >/dev/null; then
-                delgroup --quiet --system vboxusers
-        fi
-}
-
-if [ "$action" == purge ]; then
-        remove_vboxusers_group ();
+if [ "$action" = purge ]; then
+	delgroup --quiet --system vboxusers
 fi
 
-
 #DEBHELPER#
 
 exit 0




More information about the Pkg-virtualbox-commits mailing list