Update install_yunohost

This commit is contained in:
abeudin 2013-02-14 16:10:56 +01:00
parent df4b8c0bf2
commit 6cc0ca1a46

View file

@ -101,7 +101,7 @@ then
if [[ $(grep -c "yunohost.$DOMAIN" /etc/hosts) -eq 0 ]]
then
bck /etc/hosts "$LEGACY"
cat <<EOF > $rootfs/etc/hosts
cat <<EOF > /etc/hosts
127.0.0.1 localhost
127.0.1.1 yunohost.$DOMAIN yunohost
@ -186,12 +186,16 @@ EOF
fi
#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 \
--logfile /var/log/yunohost.log \
-- \
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \
-y install \
apt-get -y install \
yunohost \
yunohost-config \
yunohost-config-postfix \