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

View File

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