Fixed initial build failures after Alpine version update

This commit is contained in:
2025-08-08 21:43:43 +02:00
parent 4d3046b535
commit a618d57cad
4 changed files with 37 additions and 31 deletions

View File

@@ -12,7 +12,7 @@
self=$0
Configurations="nextcloud freshrss heimdall mailbackup"
SupportedAlpineVersion=3.21
SupportedAlpineVersion=3.22
NewPHPVer=84
SkipAlpineRelCheck=false
@@ -26,7 +26,7 @@ if [[ $(cat /etc/os-release | grep -m 1 ^"ID=") != *"alpine"* ]]; then echo Not
#AlpineVersionCheck
if $SkipAlpineRelCheck ; then echo "Notice: Alpine releas check skipped"
elif [[ $(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}') != *"$SupportedAlpineVersion"* ]]; then printf "This Alpine Linux is not supported by default,\nto continue set SkipAlpineRelCheck to true and check the targeted php version in the script\n" ;exit 1;fi
elif [[ $(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}') != *"$SupportedAlpineVersion"* ]]; then printf "This Alpine Linux version is not supported by default,\nto continue set SkipAlpineRelCheck to true and check the targeted php version in the script\n" ;exit 1;fi
#Functions for menu/core use
show_help () {