From 822703f35a1aef1535c97bcb2fd0f8082bf6c0f6 Mon Sep 17 00:00:00 2001 From: abeudin Date: Wed, 22 Aug 2012 21:15:16 +0300 Subject: [PATCH] add repo lemonldap armel --- install_yunohost | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install_yunohost b/install_yunohost index f76f30e..1cf7327 100755 --- a/install_yunohost +++ b/install_yunohost @@ -107,10 +107,17 @@ then wget -O- http://repo.yunohost.org/yunohost.asc -q | apt-key add - -qq CUSTOMAPT=/etc/apt/sources.list - grep -qri "lemonldap-ng.org" $CUSTOMAPT + grep -qri "lemonldap" $CUSTOMAPT if [[ $? -eq 1 ]] then - echo "deb http://lemonldap-ng.org/deb squeeze main" >> $CUSTOMAPT + case "$(lsb_release -cs)" in + "squeeze") + echo "deb http://lemonldap-ng.org/deb squeeze main" >> $CUSTOMAPT + ;; + "wheezy") + echo "deb http://repo.yunohost.org/ lemonldap main" >> $CUSTOMAPT + ;; + esac fi grep -qri "yunohost" $CUSTOMAPT