[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: etch: rc bug#416755 - git-core



On Fri, Mar 30, 2007 at 08:33:57AM +0000, Gerrit Pape wrote:
> debdiff is attached.
$ debdiff git-core_1.4.4.4-2.dsc git-core_1.4.4.4-3.dsc

diff -u git-core-1.4.4.4/debian/changelog git-core-1.4.4.4/debian/changelog
--- git-core-1.4.4.4/debian/changelog
+++ git-core-1.4.4.4/debian/changelog
@@ -1,3 +1,10 @@
+git-core (1:1.4.4.4-3) testing-proposed-updates; urgency=high
+
+  * debian/git-daemon-run.postrm: check for deluser being available, if
+    not, print warning and don't remove system user (closes: #416755).
+
+ -- Gerrit Pape <pape@smarden.org>  Fri, 30 Mar 2007 08:02:43 +0000
+
 git-core (1:1.4.4.4-2) testing-proposed-updates; urgency=high
 
   * debian/diff/0001-http-push.c-lock_remote-validate-all-remote-refs.diff,
diff -u git-core-1.4.4.4/debian/git-daemon-run.postrm git-core-1.4.4.4/debian/git-daemon-run.postrm
--- git-core-1.4.4.4/debian/git-daemon-run.postrm
+++ git-core-1.4.4.4/debian/git-daemon-run.postrm
@@ -7 +7,3 @@
-! getent passwd gitlog >/dev/null || deluser gitlog
+getent passwd gitlog >/dev/null || exit 0
+! deluser --version >/dev/null 2>&1 || exec deluser gitlog
+echo 'deluser program not available, not removing system user "gitlog".' >&2

Reply to: