From bd855b925f294f25e9c0ca85ec1ffd1a3912b4e4 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 10 Jun 2019 18:49:15 +0200 Subject: [PATCH] [enh] Correctly call common.sh in restore --- scripts/restore | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index b83184d..f3c5ecd 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 #=================================================