From 4a75d7c713e457b4b470a965e546944f9dfd899b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 Mar 2019 23:16:12 +0100 Subject: remove _future.sh --- scripts/backup | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'scripts/backup') diff --git a/scripts/backup b/scripts/backup index 5e57cd7..dbff544 100644 --- a/scripts/backup +++ b/scripts/backup @@ -6,15 +6,9 @@ # 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 - cp ../settings/scripts/_future.sh ./_future.sh - chmod a+rx _common.sh _future.sh -fi -source _common.sh +#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts +source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -source _future.sh #================================================= # MANAGE SCRIPT FAILURE -- cgit v1.2.3-70-g09d2