diff --git a/setup.sh b/setup.sh index d690993..f086a63 100755 --- a/setup.sh +++ b/setup.sh @@ -384,7 +384,8 @@ ALWAYS_PACKAGES=( # Internet "wget" # Compression tools - "zip gzip p7zip unace unrar xarchiver" + # (p7zip was RETIRED in Fedora 44; '7zip' is the official replacement) + "zip gzip 7zip unace unrar xarchiver" # Office and Editors "libreoffice" # Multimedia @@ -394,11 +395,21 @@ ALWAYS_PACKAGES=( step "6 Always-installed packages" rule +always_failed="" for category in "${ALWAYS_PACKAGES[@]}"; do # shellcheck disable=SC2086 - install_packages $category + if ! install_packages $category; then + color_red " Failed: $category" + color_red " (a package in this line has no match — the rest of the install continues)" + always_failed="yes" + pause_if_debug + fi done -ok "Always-packages installed." +if [[ -z "$always_failed" ]]; then + ok "Always-packages installed." +else + warn "Always-packages finished with failures (see red lines above)." +fi pause_if_debug #------------------------------------------