diff --git a/install_yunohost b/install_yunohost index 52ad9ac..af0155d 100755 --- a/install_yunohost +++ b/install_yunohost @@ -110,7 +110,14 @@ then 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