[pinto] 01/04: Fixed lintian error maintainer-script-should-not-use-adduser-system-without-home postinst:12.
Oleg Gashev
oleg at gashev.net
Sat Jan 11 18:07:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
gashev-guest pushed a commit to branch master
in repository pinto.
commit f0bf2ca8fbf6463a6910f2d26592161e38ee6362
Author: Oleg Gashev <oleg at gashev.net>
Date: Sat Jan 11 17:21:00 2014 +0000
Fixed lintian error maintainer-script-should-not-use-adduser-system-without-home postinst:12.
---
debian/pinto.postinst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/pinto.postinst b/debian/pinto.postinst
index 3b041a9..7acc251 100644
--- a/debian/pinto.postinst
+++ b/debian/pinto.postinst
@@ -9,7 +9,12 @@ defaultRepositoryPath='/var/lib/pinto/repository/default'
if [ "$1" = configure ]; then
getent group pinto >/dev/null 2>&1 || addgroup --system pinto
getent passwd pinto >/dev/null 2>&1 ||
- adduser --system --no-create-home --disabled-password --ingroup pinto pinto
+ adduser \
+ --system
+ --home /var/lib/pinto \
+ --disabled-password \
+ --ingroup pinto \
+ pinto
if [ ! -e "$defaultRepositoryPath" ] ; then
pinto -r $defaultRepositoryPath init
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pinto.git
More information about the Pkg-perl-cvs-commits
mailing list