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

Fix weight

This commit is contained in:
ericgaspar 2020-12-23 17:14:33 +01:00
parent 6cb834add7
commit acad263795
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 3 deletions

View file

@ -96,7 +96,7 @@ ynh_restore_file --origin_path="$config_path/gitlab-persistent.rb"
#=================================================
# RESTORE THE APP MAIN DIR
#=================================================
ynh_script_progression --message="Reinstalling GitLab..." --weight=200
ynh_script_progression --message="Reinstalling GitLab..." --weight=50
source ../settings/scripts/upgrade.d/upgrade.last.sh
mkdir -p ../conf/
@ -121,7 +121,7 @@ fi
#=================================================
# RESTORE GITLAB DATABASE
#=================================================
ynh_script_progression --message="Restoring GitLab..." --weight=55
ynh_script_progression --message="Restoring GitLab..." --weight=35
ynh_restore_file --origin_path="/var/opt/$app/backups/last_gitlab_backup.tar"

View file

@ -209,7 +209,7 @@ ynh_add_swap --size=$swap_needed
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Setting up source files..." --weight=200
ynh_script_progression --message="Setting up source files..." --weight=50
# To avoid the automatic backup, already performed by YunoHost: https://docs.gitlab.com/omnibus/update/#updating-methods
touch $config_path/skip-auto-backup