Skip to content

Commit 4217fa9

Browse files
committed
[fix] : Fixed AlteriSO 3.0 without include_extra
1 parent fae7623 commit 4217fa9

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

build.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,14 @@ prepare_build() {
422422
# Legacy mode
423423
if [[ "$(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" ver "${channel_name}")" = "3.0" ]]; then
424424
msg_warn "The module cannot be used because it works with Alter ISO3.0 compatibility."
425-
if [[ -n "${include_extra+SET}" ]]; then
426-
if [[ "${include_extra}" = true ]]; then
425+
case "${include_extra-"unset"}" in
426+
"true")
427427
modules=("base" "share" "share-extra" "gtk-tools" "pamac" "calamares" "zsh-powerline")
428-
else
428+
;;
429+
"false" | "unset")
429430
modules=("base" "share")
430-
fi
431-
fi
431+
;;
432+
esac
432433
fi
433434

434435
local module_check

0 commit comments

Comments
 (0)