Repo guards (repolist) + PeaZip flavor guard #14

Merged
yuri merged 4 commits from fix/repo-and-peazip-guards into main 2026-11-11 15:48:11 +01:00
Showing only changes of commit 1586e10df1 - Show all commits
+6 -2
View File
@@ -762,9 +762,13 @@ if pkg_installed sddm; then
if [[ -f "$REPO_DIR/install.sh" ]]; then if [[ -f "$REPO_DIR/install.sh" ]]; then
# yes | install.sh: the installer prompts; SIGPIPE from 'yes' would # yes | install.sh: the installer prompts; SIGPIPE from 'yes' would
# read as a crash under pipefail, so suspend it for this one command # read as a crash under pipefail, so suspend it for this one command.
# pipefail state is inherited by the ui_quiet_run subshell at fork.
# The theme's own dnf dependency flood goes to the log like every
# other transaction (laptop-proven it was the last raw wall left).
set +o pipefail set +o pipefail
if ( cd "$REPO_DIR" && yes | ./install.sh ); then if ui_quiet_run "Installing SilentSDDM theme" \
bash -c 'cd "$1" && yes | ./install.sh' _ "$REPO_DIR"; then
ok "SilentSDDM theme installed." ok "SilentSDDM theme installed."
else else
color_red " Failed: SilentSDDM installer (continuing; SDDM keeps its default theme)" color_red " Failed: SilentSDDM installer (continuing; SDDM keeps its default theme)"