mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
add repo lemonldap armel
This commit is contained in:
parent
8a2b5ee17f
commit
822703f35a
1 changed files with 9 additions and 2 deletions
|
@ -107,10 +107,17 @@ then
|
||||||
wget -O- http://repo.yunohost.org/yunohost.asc -q | apt-key add - -qq
|
wget -O- http://repo.yunohost.org/yunohost.asc -q | apt-key add - -qq
|
||||||
|
|
||||||
CUSTOMAPT=/etc/apt/sources.list
|
CUSTOMAPT=/etc/apt/sources.list
|
||||||
grep -qri "lemonldap-ng.org" $CUSTOMAPT
|
grep -qri "lemonldap" $CUSTOMAPT
|
||||||
if [[ $? -eq 1 ]]
|
if [[ $? -eq 1 ]]
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
grep -qri "yunohost" $CUSTOMAPT
|
grep -qri "yunohost" $CUSTOMAPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue