From 4716d1e0f04b207ab165f1cd1d6d4bb9c06acf17 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 21 Jun 2017 17:32:46 +0200 Subject: [PATCH] Install archivemount if fuse is present --- install_yunohost | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install_yunohost b/install_yunohost index 110676b..1b519ce 100755 --- a/install_yunohost +++ b/install_yunohost @@ -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() {