post_install.sh aktualisiert

This commit is contained in:
2026-01-27 23:11:13 +01:00
parent e6a0011b56
commit b634c0272c

View File

@@ -98,10 +98,11 @@ while true; do
continue
fi
# Script ausführen
# --------------------------------------
# Strg+C im Unter-Script abfangen, Master-Script bleibt aktiv
( trap '' SIGINT; bash "$tmpfile" )
# Script ausführen in Subshell mit SIGINT-Handler
(
trap 'echo -e "\n${YELLOW}${INDENT}Unter-Script abgebrochen! Zurück zum Menü...${RESET}"; exit 1' SIGINT
bash "$tmpfile"
)
rm -f "$tmpfile"
echo -e "\n${CYAN}${INDENT}------------------------------------${RESET}"