[enh] Allow sudo removal.

This commit is contained in:
opi 2016-05-10 09:54:50 +02:00
parent db90f80511
commit ec82a44087

View file

@ -233,6 +233,11 @@ workaround_avahi_installation() {
}
install_yunohost_packages() {
# Allow sudo removal even if no root password has been set (on some DO
# droplet or Vagrant virtual machines), as YunoHost use sudo-ldap
export SUDO_FORCE_REMOVE=yes
# Install YunoHost
apt_get_wrapper \
-o Dpkg::Options::="--force-confold" \
-y --force-yes install \