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:
parent
28c285bc54
commit
6f6d2e73a0
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue