diff options
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/restore b/scripts/restore index 7e68436..969f3ca 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 |
