mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Install archivemount if fuse is present
This commit is contained in:
parent
31c5dc41fc
commit
4716d1e0f0
1 changed files with 13 additions and 0 deletions
|
@ -284,6 +284,19 @@ install_yunohost_packages() {
|
||||||
-o Dpkg::Options::="--force-confold" \
|
-o Dpkg::Options::="--force-confold" \
|
||||||
-y --force-yes install \
|
-y --force-yes install \
|
||||||
yunohost yunohost-admin postfix
|
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() {
|
restart_services() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue