mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
fix wrong variable
This commit is contained in:
parent
21dc0e8b4e
commit
5e0a5f41bf
1 changed files with 2 additions and 2 deletions
4
.github/workflows/updater.sh
vendored
4
.github/workflows/updater.sh
vendored
|
@ -160,7 +160,7 @@ echo "Upgrade done."
|
|||
|
||||
# retrieving the actual version in the config file
|
||||
patch_version="$(grep -Eo 'SOURCE_URL=.*' conf/source/armv7.src | cut -d'v' -f2 | cut -d'/' -f1)"
|
||||
if [ "$current_version" != "$patch_version" ]; then
|
||||
if [ "$version" != "$patch_version" ]; then
|
||||
patch_source_file "conf/source/arm.src" "conf/source/armv7.src"
|
||||
fi
|
||||
|
||||
|
@ -204,7 +204,7 @@ if [ "$last_main_version" != "$main_version" ]; then
|
|||
|
||||
# retrieving the actual version in the config file
|
||||
patch_version="$(grep -Eo 'SOURCE_URL=.*' "conf/source/armv7_${last_main_version}.src" | cut -d'v' -f2 | cut -d'/' -f1)"
|
||||
if [ "$current_version" != "$patch_version" ]; then
|
||||
if [ "$version" != "$patch_version" ]; then
|
||||
patch_source_file "conf/source/arm_${last_main_version}.src" "conf/source/armv7_${last_main_version}.src"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue