From 8fccdc49fc5ae7e0bca1eb7f09b77cf06f778c88 Mon Sep 17 00:00:00 2001 From: Selamanse Date: Tue, 5 Sep 2017 19:44:55 +0200 Subject: [PATCH] Update restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 199fad0..3ffe0d7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -4,10 +4,10 @@ set -eu #================================================= # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common ]; then +if [ ! -e _common.sh ]; then # Fetch helpers file if not in current directory sudo cp ../settings/scripts/_common.sh ./_common.sh - sudo chmod a+rx _common + sudo chmod a+rx _common.sh fi source _common.sh source /usr/share/yunohost/helpers