mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-22 06:15:30 +08:00
Update InstallNET.sh
This commit is contained in:
parent
99276f92e0
commit
a8e46c7c46
1 changed files with 2 additions and 2 deletions
|
@ -1621,7 +1621,7 @@ function checkDIST() {
|
|||
exit 1
|
||||
# Fedora releases history:
|
||||
# https://fedorapeople.org/groups/schedule/
|
||||
elif [[ "$linux_relese" == 'fedora' ]] && [[ "$RedHatSeries" -le "36" ]]; then
|
||||
elif [[ "$linux_relese" == 'fedora' ]] && [[ "$RedHatSeries" -le "37" ]]; then
|
||||
echo -ne "\n[${red}Warning${plain}] $Relese $DISTCheck is not supported!\n"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -3184,7 +3184,7 @@ linux_relese=$(echo "$Relese" | sed 's/\ //g' | sed -r 's/(.*)/\L\1/')
|
|||
[ "$Relese" == 'CentOS' ] && tmpDIST='9'
|
||||
[ "$Relese" == 'RockyLinux' ] && tmpDIST='9'
|
||||
[ "$Relese" == 'AlmaLinux' ] && tmpDIST='9'
|
||||
[ "$Relese" == 'Fedora' ] && tmpDIST='38'
|
||||
[ "$Relese" == 'Fedora' ] && tmpDIST='39'
|
||||
}
|
||||
[[ -z "$finalDIST" ]] && {
|
||||
[ "$targetRelese" == 'Ubuntu' ] && finalDIST='22.04'
|
||||
|
|
Loading…
Add table
Reference in a new issue