mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
improves comments
This commit is contained in:
parent
f41f3b2bb1
commit
677037d025
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ then
|
|||
|
||||
source ./upgrade.d/upgrade.$current_major_version.sh
|
||||
|
||||
# f the current version is higher than the version stored in upgrade.$current_major_version.sh, increment the major version
|
||||
# if the version stored in the upgrade.$current_major_version.sh file is less than or equal
|
||||
# to the current version, increment the major version to upgrade to the next version
|
||||
if dpkg --compare-versions "$gitlab_version" "le" "$current_version"; then
|
||||
current_major_version=$(($current_major_version + 1))
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue