[enh] Add daily repo in the autoinstall_script

This commit is contained in:
Le Kload 2015-01-31 23:38:18 +01:00
parent a11a3b0ee5
commit 84f8802b19

View file

@ -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