Install archivemount if fuse is present

This commit is contained in:
Alexandre Aubin 2017-06-21 17:32:46 +02:00 committed by GitHub
parent 31c5dc41fc
commit 4716d1e0f0

View file

@ -284,6 +284,19 @@ install_yunohost_packages() {
-o Dpkg::Options::="--force-confold" \
-y --force-yes install \
yunohost yunohost-admin postfix
# Install archivemount if fuse is present already
# (We do this because we cannot risk installing fuse ourselves because
# install fails on some OpenVZ setups...
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743360 )
if [ -e /dev/fuse ];
then
apt_get_wrapper \
-o Dpkg::Options::="--force-confold" \
-y --force-yes install \
archivemount
fi
}
restart_services() {