From 7ba6701e8775ef6dbbb8b5733e108b2d23bc46e7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Nov 2020 19:37:07 +0100 Subject: [PATCH] Fix --- README.md | 4 ---- scripts/restore | 9 ++------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index eb438dd..0dda1be 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,6 @@ Password and other usefull information will be sent to you after installation. # State of this package -* works fine: - - * [x] install/remove/backup/remove/upgrade/multi-instance with x86_64 - * to be confirmed * [x] ARM support * [x] Improve systemd protection diff --git a/scripts/restore b/scripts/restore index 414c8c6..cadf1d0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -6,12 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common.sh ]; then - # Get the _common.sh file if it's not in the current directory - cp ../settings/scripts/_common.sh ./_common.sh - chmod a+rx _common.sh -fi -source _common.sh +source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers #================================================= @@ -51,7 +46,7 @@ ynh_restore_file "$final_path" #================================================= # Define and install dependencies -ynh_install_app_dependencies mumble-server mailutils +ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE USER RIGHTS