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
df4b8c0bf2
commit
6cc0ca1a46
1 changed files with 8 additions and 4 deletions
|
@ -101,7 +101,7 @@ then
|
||||||
if [[ $(grep -c "yunohost.$DOMAIN" /etc/hosts) -eq 0 ]]
|
if [[ $(grep -c "yunohost.$DOMAIN" /etc/hosts) -eq 0 ]]
|
||||||
then
|
then
|
||||||
bck /etc/hosts "$LEGACY"
|
bck /etc/hosts "$LEGACY"
|
||||||
cat <<EOF > $rootfs/etc/hosts
|
cat <<EOF > /etc/hosts
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost
|
||||||
127.0.1.1 yunohost.$DOMAIN yunohost
|
127.0.1.1 yunohost.$DOMAIN yunohost
|
||||||
|
|
||||||
|
@ -186,12 +186,16 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Install yunohost packages
|
#Install yunohost packages
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
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 -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
|
apt-get -y install \
|
||||||
-y install \
|
|
||||||
yunohost \
|
yunohost \
|
||||||
yunohost-config \
|
yunohost-config \
|
||||||
yunohost-config-postfix \
|
yunohost-config-postfix \
|
||||||
|
|
Loading…
Add table
Reference in a new issue