mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Remove LemonLDAP from script
This commit is contained in:
parent
fa1e35624d
commit
3e2a816a72
2 changed files with 10 additions and 22 deletions
|
@ -52,7 +52,7 @@ amavis=no
|
||||||
apache2=no
|
apache2=no
|
||||||
dovecot=no
|
dovecot=no
|
||||||
iptables=no
|
iptables=no
|
||||||
lemonldap-ng=no
|
ssowat=no
|
||||||
postfix=no
|
postfix=no
|
||||||
proftpd=no
|
proftpd=no
|
||||||
radicale=no
|
radicale=no
|
||||||
|
@ -90,20 +90,14 @@ then
|
||||||
echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT
|
echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
grep -qri "lemonldap" $CUSTOMAPT
|
|
||||||
if [[ $? -eq 1 ]]
|
|
||||||
then
|
|
||||||
echo "deb http://repo.yunohost.org/ lemonldap main" >> $CUSTOMAPT
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
|
||||||
if [[ "$1" == "test" ]]; then
|
if [[ "$1" == "test" ]]; then
|
||||||
|
grep -qri "test" $CUSTOMAPT
|
||||||
|
if [ $# -eq 1 ]; then
|
||||||
echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT
|
echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Get gpg key
|
#Get gpg key
|
||||||
wget -O- http://lemonldap-ng.org/_media/rpm-gpg-key-ow2 -q | apt-key add - -qq
|
|
||||||
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
|
||||||
|
|
||||||
#Update repo
|
#Update repo
|
||||||
|
|
|
@ -53,7 +53,7 @@ amavis=no
|
||||||
apache2=no
|
apache2=no
|
||||||
dovecot=no
|
dovecot=no
|
||||||
iptables=no
|
iptables=no
|
||||||
lemonldap-ng=no
|
ssowat=no
|
||||||
postfix=no
|
postfix=no
|
||||||
proftpd=no
|
proftpd=no
|
||||||
radicale=no
|
radicale=no
|
||||||
|
@ -92,20 +92,14 @@ then
|
||||||
echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT
|
echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
grep -qri "lemonldap" $CUSTOMAPT
|
|
||||||
if [[ $? -eq 1 ]]
|
|
||||||
then
|
|
||||||
echo "deb http://repo.yunohost.org/ lemonldap main" >> $CUSTOMAPT
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
|
||||||
if [[ "$1" == "test" ]]; then
|
if [[ "$1" == "test" ]]; then
|
||||||
|
grep -qri "test" $CUSTOMAPT
|
||||||
|
if [ $# -eq 1 ]; then
|
||||||
echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT
|
echo "deb http://repo.yunohost.org/ test main" >> $CUSTOMAPT
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Get gpg key
|
#Get gpg key
|
||||||
wget -O- http://lemonldap-ng.org/_media/rpm-gpg-key-ow2 -q | apt-key add - -qq
|
|
||||||
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
|
||||||
|
|
||||||
#Update repo
|
#Update repo
|
||||||
|
|
Loading…
Add table
Reference in a new issue