From 9f8368edd4067156faa2fe191999d665e1c1fba8 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Tue, 25 Jun 2013 14:40:37 +0300 Subject: [PATCH] Update install_yunohostv2 --- install_yunohostv2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index 68bcff3..afadf48 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -98,9 +98,10 @@ then echo "deb http://repo.yunohost.org/ lemonldap main" >> $CUSTOMAPT fi - if [[ "$1" == "test" ]] - then + if [ $# -eq 1 ]; then + if [[ "$1" == "test" ]]; then echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT + fi fi #Get gpg key