[pinto] 01/01: Fixed htpasswd call.

Oleg Gashev oleg at gashev.net
Fri Oct 11 20:06:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

gashev-guest pushed a commit to branch master
in repository pinto.

commit 5da87e4f7fc9bcc41b3903d5679ad777820e5f11
Author: Oleg Gashev <oleg at gashev.net>
Date:   Fri Oct 11 16:05:53 2013 -0400

    Fixed htpasswd call.
---
 debian/pinto.postinst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/pinto.postinst b/debian/pinto.postinst
index 7a730f1..62b3e00 100644
--- a/debian/pinto.postinst
+++ b/debian/pinto.postinst
@@ -51,7 +51,7 @@ if [ "$1" = configure ]; then
 
     if [ -n "$admpass" ]; then
         touch "$htpw"
-        htpasswd -i "$htpw" pintoadmin "$admpass"
+        echo "$admpass"|htpasswd -i "$htpw" pintoadmin
     fi
 
     db_set pinto/adminpassword ""

-- 
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