From 5b1f2fed3cc21138c22433b0f862018b6579a919 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 10 Jun 2019 18:49:50 +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 1a4cb76..df9443e 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 #=================================================