[Pkg-grid-commits] nws/debian nws.postrm,1.3,1.4

Martin Quinson mquinson at alioth.debian.org
Mon Aug 8 22:12:07 UTC 2005


Update of /cvsroot/pkg-grid/nws/debian
In directory haydn:/tmp/cvs-serv31185

Modified Files:
	nws.postrm 
Log Message:
Hide errors, and remove statoverride stuff in any case since if they survive, we won't be able to reinstall the package

Index: nws.postrm
===================================================================
RCS file: /cvsroot/pkg-grid/nws/debian/nws.postrm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- nws.postrm	8 Aug 2005 21:36:05 -0000	1.3
+++ nws.postrm	8 Aug 2005 22:12:04 -0000	1.4
@@ -21,14 +21,12 @@
 		####
 		## Purge the statoverrides
                 for i in /var/log/nws /var/state/nws ; do
-                  if ! dpkg-statoverride --list $i >/dev/null; then
-                    dpkg-statoverride --remove $i
-                  fi
+                  dpkg-statoverride --remove $i >/dev/null 2>&1 || true
 		done
 
 		####
 		## Purge the user
-		deluser --quiet nws > /dev/null || true		
+		deluser --quiet nws > /dev/null 2>&1 || true		
 
 	;;
 esac




More information about the Pkg-grid-commits mailing list