V3 revamp #1

Merged
yuri merged 67 commits from v3-revamp into master 2026-11-02 13:11:10 +01:00
Showing only changes of commit 845c33f8df - Show all commits
+15 -5
View File
@@ -49,18 +49,28 @@ fi
echo "Running installer..." echo "Running installer..."
# Move into the directory safely and execute the installer directly as an executable sub-process # Move into the directory safely
cd "$REPO_DIR" || { cd "$REPO_DIR" || {
color_red "Error: Failed to enter $REPO_DIR" color_red "Error: Failed to enter $REPO_DIR"
exit 1 exit 1
} }
# Make sure it's executable and run it cleanly
chmod +x install.sh chmod +x install.sh
yes | ./install.sh || {
color_red "Error: SDDM theme installer encountered an issue." # Temporarily disable pipefail so SIGPIPE doesn't register as a fatal script crash
set +o pipefail
yes | ./install.sh
INSTALL_STATUS=$?
# Instantly restore pipefail for the remaining application scripts
set -o pipefail
# Verify the installer script's actual status code
if [ $INSTALL_STATUS -ne 0 ]; then
color_red "Error: SDDM theme installer encountered a genuine runtime issue."
exit 1 exit 1
} fi
color_green "SDDM theme installer completed successfully!" color_green "SDDM theme installer completed successfully!"