[Oval-commits] r367 - trunk/oval-agent/debian

Pavel Vinogradov blaze-guest at alioth.debian.org
Sun Sep 14 14:44:02 UTC 2008


Author: blaze-guest
Date: 2008-09-14 14:44:02 +0000 (Sun, 14 Sep 2008)
New Revision: 367

Modified:
   trunk/oval-agent/debian/postinst
   trunk/oval-agent/debian/postrm
Log:
Create oval group if it not exist

Modified: trunk/oval-agent/debian/postinst
===================================================================
--- trunk/oval-agent/debian/postinst	2008-09-14 14:43:46 UTC (rev 366)
+++ trunk/oval-agent/debian/postinst	2008-09-14 14:44:02 UTC (rev 367)
@@ -20,6 +20,10 @@
 
 case "$1" in
     configure)
+	if ! getent group oval > /dev/null; then
+		addgroup oval
+	fi
+	
         # (jfs) BUG: Should be improved (see Debian security manual)
 	if ! getent passwd oval-agent >/dev/null; then
 		adduser --quiet --system --no-create-home \

Modified: trunk/oval-agent/debian/postrm
===================================================================
--- trunk/oval-agent/debian/postrm	2008-09-14 14:43:46 UTC (rev 366)
+++ trunk/oval-agent/debian/postrm	2008-09-14 14:44:02 UTC (rev 367)
@@ -49,6 +49,4 @@
 
 #DEBHELPER#
 
-exit 0
-
-
+exit 0
\ No newline at end of file




More information about the Oval-commits mailing list