Control: tags -1 + patch

Jonathan,

I'm attaching a patch for the git-daemon-run postrm script, please
apply it when you can.
Currently, the postrm fails, causing dpkg to fail. From what I can
tell, the change is harmless (the old behavior was wrong IMO).

Thanks,
Chris

>From 095ac91986212502a7fb35c1de9808cf304e1e78 Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <z...@debian.org>
Date: Sun, 9 Oct 2022 11:47:33 +0000
Subject: [PATCH] git-daemon-run.postrm: remove -f flag from deluser call

Does not exist since #1002495 and was always wrong.

Signed-off-by: Chris Hofstaedtler <z...@debian.org>
---
 debian/git-daemon-run.postrm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/git-daemon-run.postrm b/debian/git-daemon-run.postrm
index f6aa282d05..1c2ac6570a 100644
--- a/debian/git-daemon-run.postrm
+++ b/debian/git-daemon-run.postrm
@@ -18,5 +18,5 @@ done
 rmdir /var/log/git-daemon || :
 
 getent passwd gitlog >/dev/null || exit 0
-! deluser --version >/dev/null 2>&1 || exec deluser -f gitlog
+! deluser --version >/dev/null 2>&1 || exec deluser gitlog
 echo 'deluser program not available, not removing system user "gitlog".' >&2
-- 
2.37.2

Reply via email to