From 92e63982cfaa1442823f9856f965010d1ccfce59 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Mon, 16 Jul 2018 23:33:27 +0200 Subject: [PATCH] [fix] Fix "backup" so restore can be done See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#pullrequestreview-134457098 --- scripts/backup | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/backup b/scripts/backup index 942bf2c..9c63df7 100755 --- a/scripts/backup +++ b/scripts/backup @@ -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 #=================================================