From a7de5c7f57ce46b51f448e9ae5b0d62188be2d85 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Mon, 16 Jul 2018 23:58:09 +0200 Subject: [PATCH] [fix] Fix "restore" script too --- scripts/restore | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index effa38b..754220d 100755 --- 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 #=================================================