chore: Slightly modify code style in get_rockylinux function

This commit is contained in:
zen0bit 2024-04-21 08:15:49 +02:00 committed by Martin Wimpress
parent 7814f74377
commit a948ece78d
1 changed files with 2 additions and 3 deletions

View File

@ -2593,9 +2593,8 @@ function get_rebornos() {
function get_rockylinux() { function get_rockylinux() {
local EDITION="${1:-}" local EDITION="${1:-}"
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]] if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]; then
then EDITION="dvd1"
EDITION="dvd1"
fi fi
local HASH="" local HASH=""
local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso" local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso"