Fixed typo's Fedora implementation of ReleaseUpgrade

This commit is contained in:
2025-01-07 23:15:05 +01:00
parent 49a8f3aa2b
commit fd4bd0081a
3 changed files with 13 additions and 11 deletions

View File

@@ -50,6 +50,7 @@ if [[ "${DIST}" == *"debian"* ]]; then
#Ask the wanted Debian version
DoDebianReleaseUpdate=true
DoAlpineReleaseUpdate=false
DoFedoraReleaseUpdate=false
echo "Enter the Debian version to upgrade to"
read NewDebianVersion
@@ -68,6 +69,7 @@ elif [[ "${DIST}" == *"alpine"* ]]; then
#Ask the wanted Alpine version
DoAlpineReleaseUpdate=true
DoDebianReleaseUpdate=false
DoFedoraReleaseUpdate=false
echo "Enter the Alpine version to upgrade to"
read NewAlpineVersion
@@ -84,12 +86,12 @@ elif [[ "${DIST}" == *"alpine"* ]]; then
done
elif [[ "${DIST}" == *"fedora"* ]]; then
#Ask the wanted Fedora version
DoDebianReleaseUpdate=true
DoAlpineReleaseUpdate=true
DoFedoraReleaseUpdate=false
DoDebianReleaseUpdate=false
DoAlpineReleaseUpdate=false
DoFedoraReleaseUpdate=true
echo "Enter the Fedora version to upgrade to"
read NewFedoraVersionNewFedoraVersion
read NewFedoraVersion
while true; do
read -p "Upgrade to Fedora $NewFedoraVersion, is this correct? -> yes/no?" yn
case $yn in