From 2b4fb3f3c343cd2b437068152ed8cae3f1f43ae3 Mon Sep 17 00:00:00 2001 From: julienmalik Date: Mon, 16 Feb 2015 14:07:08 +0100 Subject: [PATCH] Update repository url --- install_yunohostv2 | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index faa8617..d55a1f9 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -107,18 +107,12 @@ then fi if [ $# -gt 0 ]; then - if [[ "$1" == "test" ]]; then - grep -qri "test" $CUSTOMAPT - if [ $# -eq 1 ]; then - echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT - fi + if [[ "$1" == "test" ]] || [[ "$1" == "testing" ]] ; then + echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT fi - if [[ "$1" == "daily" ]]; then - grep -qri "daily" $CUSTOMAPT - if [ $# -eq 1 ]; then - echo "deb http://daily.yunohost.org/daily/ megusta main" >> $CUSTOMAPT - echo "deb http://daily.yunohost.org/test/ wheezy main" >> $CUSTOMAPT - fi + if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then + echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT + echo "deb http://daily.yunohost.org/ unstable main" >> $CUSTOMAPT fi fi