1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

fix restore

This commit is contained in:
Pierre Bourré 2018-12-25 19:32:44 +01:00
parent 3ddbb2f483
commit 59c5d4a0db

View file

@ -6,12 +6,19 @@
# IMPORT GENERIC HELPERS # 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
mkdir ./upgrade.d
cp ../settings/upgrade.d/upgrade.sh ./upgrade.d/upgrade.sh
chmod a+rx _common.sh upgrade.d/upgrade.sh
fi
# Source YunoHost helpers # Source YunoHost helpers
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Load common variables and helpers # Load common variables and helpers
source ../settings/scripts/_common.sh source _common.sh
source ../settings/scripts/upgrade.d/upgrade.sh
#================================================= #=================================================
# MANAGE SCRIPT FAILURE # MANAGE SCRIPT FAILURE