Update install_yunohostv2

This commit is contained in:
Alexis Gavoty 2013-06-25 14:40:37 +03:00
parent 07f97a2d94
commit 9f8368edd4

View file

@ -98,10 +98,11 @@ 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
wget -O- http://lemonldap-ng.org/_media/rpm-gpg-key-ow2 -q | apt-key add - -qq