From 00172223ac4de384f841c6122bfde172b2fdede7 Mon Sep 17 00:00:00 2001 From: JimboJoe Date: Wed, 4 Jul 2018 20:53:50 +0200 Subject: [PATCH] Cleaner _common.sh sourcing in restore script --- scripts/restore | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index 9929ea4..413aa02 100755 --- a/scripts/restore +++ b/scripts/restore @@ -6,12 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common.sh ]; then - # Rapatrie le fichier de fonctions si il n'est pas dans le dossier courant - 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 #=================================================