From 43e2823e8a949422a5e36870502d64a29a6fc6ba Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 29 Sep 2012 18:28:52 +0300 Subject: [PATCH] ajout repo lemonldap for wheezy --- install_yunohost | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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