Merge pull request #56 from YunoHost/attempt-to-fix-debhelper-issue

Attempt to fix debhelper issue
This commit is contained in:
Alexandre Aubin 2019-07-20 15:15:42 +02:00 committed by GitHub
commit 3c9b48dd93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -472,6 +472,15 @@ function install_yunohost_packages() {
# We need to make it mutable for the resolvconf dependency to be installed
chattr -i /etc/resolv.conf 2>/dev/null || true
# Install those damn deps independently ...
# otherwise they make the install crash for random reasons ~.~
# c.f. https://github.com/YunoHost/issues/issues/1382
apt_get_wrapper \
-o Dpkg::Options::="--force-confold" \
-y --force-yes install \
debhelper dh-autoreconf \
|| true
# Install YunoHost
apt_get_wrapper \
-o Dpkg::Options::="--force-confold" \