[DRE-commits] [diaspora-installer] 19/55: print message after check

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Dec 8 12:41:23 UTC 2014


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

praveen pushed a commit to branch master
in repository diaspora-installer.

commit 959a40e90143076b8952e87e70a51552b73a57bd
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Dec 2 18:38:54 2014 +0530

    print message after check
---
 debian/postinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index c124232..d8571d8 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -45,10 +45,10 @@ case "$1" in
 	echo "Download diaspora tarball from github.com..."
 	mkdir -p /var/cache/diaspora-installer
 	if ! test -f /var/cache/diaspora-installer/diaspora-${diaspora_version}.tar.gz
-		then echo "Already downloaded..."
+		then 
 			wget -O /var/cache/diaspora-installer/diaspora-${diaspora_version}.tar.gz https://github.com/diaspora/diaspora/archive/v${diaspora_version}.tar.gz
 	fi
-
+	echo "Already downloaded..."
 	exit 1
 	echo "Installing gems with rubygems ..."
 	

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git



More information about the Pkg-ruby-extras-commits mailing list