From 291b88961bdee011bf4461bf99d4bd2448a2c3f4 Mon Sep 17 00:00:00 2001 From: aymhce Date: Tue, 3 Oct 2017 22:51:30 +0200 Subject: [PATCH] add recommended block #21 --- scripts/restore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/restore b/scripts/restore index 2c55002..ebf42f2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -6,6 +6,11 @@ set -eu # IMPORT GENERIC HELPERS #================================================= +if [ ! -e _common.sh ]; then + cp ../settings/scripts/_common.sh ./_common.sh + chmod a+rx _common.sh +fi +. _common.sh . /usr/share/yunohost/helpers #=================================================