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

Javier Fernandez-Sanguino Pen~a jfs at alioth.debian.org
Tue Sep 4 21:57:38 UTC 2007


Author: jfs
Date: 2007-09-04 21:57:38 +0000 (Tue, 04 Sep 2007)
New Revision: 251

Modified:
   trunk/oval-agent/debian/postrm
Log:
Fix use of variable

Modified: trunk/oval-agent/debian/postrm
===================================================================
--- trunk/oval-agent/debian/postrm	2007-09-04 21:52:15 UTC (rev 250)
+++ trunk/oval-agent/debian/postrm	2007-09-04 21:57:38 UTC (rev 251)
@@ -30,7 +30,7 @@
     remove)
         # (jfs) BUG: No need to remove the directory, dpkg will 
         # remove it if empty, just remove the log file...
-	if [ "OVALSERVER" != "ii" ]; then
+	if [ "$OVALSERVER" != "ii" ]; then
 		rm -rf /var/log/oval
 	else
 		rm -rf /var/log/oval/oval-agent.log
@@ -40,7 +40,7 @@
         # might have been created by the user but not by the package
         # also, it makes more sense to have an oval-agent and oval-server
         # users so that they do not overlap
-	if [ "OVALSERVER" != "ii" ]; then
+	if [ "$OVALSERVER" != "ii" ]; then
 		if id oval >/dev/null; then
 			deluser oval
 		fi




More information about the Oval-commits mailing list