From fc3fdc3f10df8e1f45ed601f4054acc60882e4c5 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Mon, 8 May 2017 17:51:19 +0200 Subject: [PATCH] [fix] generic function for restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 043e995..7ae028a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -8,6 +8,8 @@ if [ ! -e ._common ]; then sudo cp ../settings/scripts/_common ./_common sudo chmod a+rx _common fi +# Loads the generic functions usually used in the script +source _common # Source app helpers source /usr/share/yunohost/helpers