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

skip-auto-backup

This commit is contained in:
Kay0u 2019-10-05 19:36:58 +02:00
parent 3eab332dc1
commit 570d753d3d
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -278,6 +278,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Setting up source files..." --weight=200
# To avoid the automatic backup, already performed by YunoHost: https://docs.gitlab.com/omnibus/update/#updating-methods
touch $config_path/skip-auto-backup
current_version=$(grep gitlab-ce /opt/gitlab/version-manifest.txt | cut -d' ' -f2)
# Load the last available version