From 570d753d3d836d1229f30638105fe29998595859 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sat, 5 Oct 2019 19:36:58 +0200 Subject: [PATCH] skip-auto-backup --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 8568bba..eb0fe70 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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