[DRE-commits] [diaspora-installer] 02/06: remove bashism
    Praveen Arimbrathodiyil 
    praveen at moszumanska.debian.org
       
    Wed Apr 29 14:11:45 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit ec794240f16ca4ea1d1ff8f2de6896a92cf028b0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Apr 15 14:49:49 2015 +0530
    remove bashism
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 0512062..361fbde 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -46,7 +46,7 @@ case "$1" in
 	mkdir -p ${diaspora_cache}
 	if ! test -f ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz
 		then 
-			if [[ ${diaspora_release_type} -eq "branch" ]]
+			if test ${diaspora_release_type} = "branch"
 			then
 				wget -O ${diaspora_cache}/diaspora-${diaspora_version}.tar.gz ${github_archive_url}/release/${diaspora_version}.tar.gz
 			else
-- 
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