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,8 +2593,7 @@ function get_rebornos() {
function get_rockylinux() {
local EDITION="${1:-}"
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]
then
if [[ "${RELEASE}" =~ ^8. ]] && [[ "${EDITION}" == "dvd" ]]; then
EDITION="dvd1"
fi
local HASH=""