[SCM] Debian packaging of Pinto CPAN distribution branch, master, updated. upstream/0.87-51-gcaec88f
Oleg Gashev
oleg at gashev.net
Sat Jul 27 18:55:44 UTC 2013
The following commit has been merged in the master branch:
commit caec88ff51a6b643aaa063bab3821fb7a3ece602
Author: Oleg Gashev <oleg at gashev.net>
Date: Sat Jul 27 12:08:34 2013 -0400
Fixed lintian warning W: pinto: command-with-path-in-maintainer-script.
diff --git a/debian/pinto.postinst b/debian/pinto.postinst
index ec1d235..ec59242 100644
--- a/debian/pinto.postinst
+++ b/debian/pinto.postinst
@@ -8,7 +8,7 @@ defaultRepositoryPath='/var/lib/pinto/repository/default'
if [ "$1" = configure ]; then
if [ ! -e "$defaultRepositoryPath" ] ; then
- /usr/bin/pinto -r $defaultRepositoryPath init
+ pinto -r $defaultRepositoryPath init
else
echo "Cannot create a new repository to $defaultRepositoryPath."
echo "$defaultRepositoryPath already exist."
@@ -48,11 +48,7 @@ if [ "$1" = configure ]; then
htpasswd -b "$htpw" pintoadmin "$admpass"
fi
- if /bin/pidof /usr/bin/pintod >/dev/null 2>&1; then
- invoke-rc.d pinto restart
- else
- invoke-rc.d pinto start
- fi
+ invoke-rc.d pinto restart
fi
#DEBHELPER#
--
Debian packaging of Pinto CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list