From e6dcb2f9ceeb9dccd0757855c094d77634cdcc74 Mon Sep 17 00:00:00 2001 From: Kload Date: Sun, 7 Jul 2013 09:26:24 +0200 Subject: [PATCH] bugfix --- install_yunohostv2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index afadf48..ae94751 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -97,7 +97,7 @@ then then echo "deb http://repo.yunohost.org/ lemonldap main" >> $CUSTOMAPT fi - + if [ $# -eq 1 ]; then if [[ "$1" == "test" ]]; then echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT @@ -153,10 +153,10 @@ then service iptables start service nscd restart service nslcd restart - + echo -e "\n" whiptail --title "Post-installation" --yesno "Proceed to post-installation?" 8 78 - RESULT=1 + RESULT=$? while [ $RESULT -gt 0 ]; do if [[ $YESNO -eq 0 ]]; then echo -e "\n"