Hi again,

Daniel Baumann wrote:

> newly updated patch attached

Thanks!  It's looking better now.

> --- /dev/null
> +++ b/debian/git-daemon-sysv.postinst
> @@ -0,0 +1,19 @@
> +#!/bin/sh
> +set -e
> +
> +test "$1" = 'configure' || exit 0
> +
> +getent passwd gitdaemon >/dev/null || \
> +  adduser --system --home /nonexistent --no-create-home gitdaemon

Should this user be removed in prerm?  (Yes, I know git-daemon-run
does not do that.)

A general question: what happens when this package is removed but
not purged?  Usually in init scripts the "test -x $daemon" check
ensures they are not run in that case; is there a way to achieve the
same effect here?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to