[Pkg-grid-commits] nws/debian nws.postrm,1.2,1.3
Martin Quinson
mquinson at alioth.debian.org
Mon Aug 8 21:36:09 UTC 2005
Update of /cvsroot/pkg-grid/nws/debian
In directory haydn:/tmp/cvs-serv8505
Modified Files:
nws.postrm
Log Message:
Actually, remove the user only after it's not used anymore (or dpkg-statoverride dies)
Index: nws.postrm
===================================================================
RCS file: /cvsroot/pkg-grid/nws/debian/nws.postrm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- nws.postrm 8 Aug 2005 21:26:02 -0000 1.2
+++ nws.postrm 8 Aug 2005 21:36:05 -0000 1.3
@@ -14,10 +14,10 @@
fi
rm -f $CONF
- ####
- ## Purge the user
- deluser --quiet nws > /dev/null || true
-
+ ####
+ ## Purge the status and log files
+ rm -rf /var/log/nws /var/state/nws
+
####
## Purge the statoverrides
for i in /var/log/nws /var/state/nws ; do
@@ -26,9 +26,10 @@
fi
done
- ####
- ## Purge the status and log files
- rm -rf /var/log/nws /var/state/nws
+ ####
+ ## Purge the user
+ deluser --quiet nws > /dev/null || true
+
;;
esac
More information about the Pkg-grid-commits
mailing list