mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Update install_yunohost
This commit is contained in:
parent
c7fe1956c4
commit
13e5d1ec24
1 changed files with 2 additions and 8 deletions
|
@ -186,16 +186,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Install yunohost packages
|
#Install yunohost packages
|
||||||
cat <<EOF > /etc/apt/apt.conf.d/local
|
|
||||||
Dpkg::Options {
|
|
||||||
"--force-confdef";
|
|
||||||
"--force-confold";
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
debconf-apt-progress \
|
debconf-apt-progress \
|
||||||
--logfile /var/log/yunohost.log \
|
--logfile /var/log/yunohost.log \
|
||||||
-- \
|
-- \
|
||||||
apt-get -y install \
|
apt-get -o Dpkg::Options::="--force-confold" \
|
||||||
|
-y install \
|
||||||
yunohost \
|
yunohost \
|
||||||
yunohost-config \
|
yunohost-config \
|
||||||
yunohost-config-postfix \
|
yunohost-config-postfix \
|
||||||
|
@ -218,7 +213,6 @@ EOF
|
||||||
service iptables start
|
service iptables start
|
||||||
service nscd restart
|
service nscd restart
|
||||||
service nslcd restart
|
service nslcd restart
|
||||||
rm /etc/apt/apt.conf.d/local
|
|
||||||
echo "======== Installation success ========"
|
echo "======== Installation success ========"
|
||||||
exit $SUCCESS
|
exit $SUCCESS
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue