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

fix old upgrade for bullseye

This commit is contained in:
Kay0u 2022-01-27 15:06:00 +01:00
parent 28c285bc54
commit 6f6d2e73a0
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
2 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,10 @@ architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
if [ "$architecture" = "x86-64" ]; then
gitlab_debian_version="$(lsb_release -sc)"
if [ "$gitlab_debian_version" = "bullseye" ]
then
gitlab_debian_version="buster"
fi
if [ "$gitlab_debian_version" = "buster" ]
then
gitlab_source_sha256=$gitlab_x86_64_buster_source_sha256

View file

@ -15,7 +15,11 @@ architecture=$(ynh_app_setting_get --app="$app" --key=architecture)
if [ "$architecture" = "x86-64" ]; then
gitlab_debian_version="$(lsb_release -sc)"
if [ "$gitlab_debian_version" = "bullseye" ]
then
gitlab_debian_version="buster"
fi
if [ "$gitlab_debian_version" = "buster" ]
then
gitlab_source_sha256=$gitlab_x86_64_buster_source_sha256