--- a/debian/postrm Thu Mar 04 16:48:23 2010 +0000
+++ b/debian/postrm Sat Dec 04 20:22:01 2010 +0000
@@ -21,12 +21,9 @@
if remove_repositories_on_purge; then
echo -n "Removing hg user and purging data..."
deluser --remove-home --quiet --system hg > /dev/null || true
- else
- echo -n "Removing hg user..."
- deluser --quiet --system hg > /dev/null || true
+ delgroup --quiet --system hg > /dev/null || true
+ echo done
fi
- delgroup --quiet --system hg > /dev/null || true
- echo done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)