mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
fix bug repo
This commit is contained in:
parent
4d48d9ff1b
commit
841e4f04f5
2 changed files with 13 additions and 13 deletions
16
debconf
16
debconf
|
@ -1,14 +1,14 @@
|
||||||
postfix postfix/main_mailer_type select Internet Site
|
postfix postfix/main_mailer_type select Internet Site
|
||||||
postfix postfix/mailname string /etc/mailname
|
postfix postfix/mailname string /etc/mailname
|
||||||
mysql-server-5.1 mysql-server/root_password password
|
mysql-server-5.1 mysql-server/root_password password
|
||||||
mysql-server-5.1 mysql-server/root_password_again password
|
mysql-server-5.1 mysql-server/root_password_again password
|
||||||
samba-common samba-common/workgroup string WORKGROUP
|
samba-common samba-common/workgroup string WORKGROUP
|
||||||
samba-common samba-common/workgroup boolean true
|
samba-common samba-common/workgroup boolean true
|
||||||
nslcd nslcd/ldap-bindpw password
|
nslcd nslcd/ldap-bindpw password
|
||||||
nslcd nslcd/ldap-starttls boolean false
|
nslcd nslcd/ldap-starttls boolean false
|
||||||
nslcd nslcd/ldap-reqcert select
|
nslcd nslcd/ldap-reqcert select
|
||||||
nslcd nslcd/ldap-uris string ldap://localhost/
|
nslcd nslcd/ldap-uris string ldap://localhost/
|
||||||
nslcd nslcd/ldap-binddn string
|
nslcd nslcd/ldap-binddn string
|
||||||
nslcd nslcd/ldap-base string dc=yunohost,dc=org
|
nslcd nslcd/ldap-base string dc=yunohost,dc=org
|
||||||
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
|
proftpd-basic shared/proftpd/inetd_or_standalone select standalone
|
||||||
libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
|
libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash -x
|
||||||
|
|
||||||
echo "YunoHost Installation"
|
echo "YunoHost Installation"
|
||||||
echo "Do you want install Yunhost? (Y/n)"
|
echo "Do you want install Yunhost? (Y/n)"
|
||||||
|
@ -29,10 +29,10 @@ then
|
||||||
grep "yunohost" /etc/apt/sources.list
|
grep "yunohost" /etc/apt/sources.list
|
||||||
if [ $? = 1 ];
|
if [ $? = 1 ];
|
||||||
then
|
then
|
||||||
if [ $(lsb_release -cs) = "Debian" ];
|
if [ $(lsb_release -is) = "Debian" ];
|
||||||
then
|
then
|
||||||
echo "deb http://repo.yunohost.org/ squeeze main" >> /etc/apt/sources.list
|
echo "deb http://repo.yunohost.org/ squeeze main" >> /etc/apt/sources.list
|
||||||
elif [ $(lsb_release -cs) = "Ubuntu" ];
|
elif [ $(lsb_release -is) = "Ubuntu" ];
|
||||||
then
|
then
|
||||||
echo "deb http://repo.yunohost.org/ precise main" >> /etc/apt/sources.list
|
echo "deb http://repo.yunohost.org/ precise main" >> /etc/apt/sources.list
|
||||||
fi
|
fi
|
||||||
|
@ -48,11 +48,11 @@ then
|
||||||
|
|
||||||
echo "======== Install ========"
|
echo "======== Install ========"
|
||||||
#add answer in debconf db
|
#add answer in debconf db
|
||||||
wget https://raw.github.com/YunoHost/Script/master/debconf --no-check-certificate
|
#wget https://raw.github.com/YunoHost/Script/master/debconf --no-check-certificate
|
||||||
debconf-set-selections debconf
|
debconf-set-selections debconf
|
||||||
|
|
||||||
#Install yunohost packages
|
#Install yunohost packages
|
||||||
apt-get install yunohost yunohost-config yunohost-config-postfix postfix postfix-ldap postfix-policyd-spf-perl
|
apt-get install yunohost yunohost-config yunohost-config-postfix postfix postfix-ldap postfix-policyd-spf-perl -y
|
||||||
if [ $? != 0 ] ;
|
if [ $? != 0 ] ;
|
||||||
then
|
then
|
||||||
echo "Install yunohost Failure"
|
echo "Install yunohost Failure"
|
||||||
|
|
Loading…
Add table
Reference in a new issue