From 84f8802b19df866728a53f3058e2268c4b9fae85 Mon Sep 17 00:00:00 2001 From: Le Kload Date: Sat, 31 Jan 2015 23:38:18 +0100 Subject: [PATCH] [enh] Add daily repo in the autoinstall_script --- autoinstall_yunohostv2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/autoinstall_yunohostv2 b/autoinstall_yunohostv2 index 909850d..72e1b9b 100755 --- a/autoinstall_yunohostv2 +++ b/autoinstall_yunohostv2 @@ -97,6 +97,13 @@ then echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT fi 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 + fi fi #Get gpg key