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:
parent
3ddbb2f483
commit
59c5d4a0db
1 changed files with 9 additions and 2 deletions
|
@ -6,12 +6,19 @@
|
|||
# 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 /usr/share/yunohost/helpers
|
||||
|
||||
# Load common variables and helpers
|
||||
source ../settings/scripts/_common.sh
|
||||
source ../settings/scripts/upgrade.d/upgrade.sh
|
||||
source _common.sh
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
|
|
Loading…
Add table
Reference in a new issue