[Pkg-privacy-commits] [onioncat] 05/06: Adjust postinst maintainer script a little, so that Lintian's maintainer-script-should-not-use-adduser-system-without-home understands what we do.
Intrigeri
intrigeri at moszumanska.debian.org
Sun Jan 24 18:08:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch master
in repository onioncat.
commit 43f174f9acb612b00aac17fdb93a9fde1bcaaf50
Author: intrigeri <intrigeri at boum.org>
Date: Sun Jan 24 17:33:04 2016 +0000
Adjust postinst maintainer script a little, so that Lintian's maintainer-script-should-not-use-adduser-system-without-home understands what we do.
---
debian/onioncat.postinst | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/onioncat.postinst b/debian/onioncat.postinst
index 44e1d0e..7b90c3e 100755
--- a/debian/onioncat.postinst
+++ b/debian/onioncat.postinst
@@ -6,9 +6,8 @@ case $1 in
configure)
if ! getent passwd onioncat >/dev/null ; then
echo "adding onioncat user..."
- adduser \
+ adduser --home '/var/lib/onioncat' \
--quiet --system --group \
- --home '/var/lib/onioncat' \
--shell '/bin/sh' \
--gecos 'OnionCat user,,,' \
onioncat
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git
More information about the Pkg-privacy-commits
mailing list