From 9530e7200f44a6592675faad873d61a06379d91e Mon Sep 17 00:00:00 2001 From: klaas Date: Wed, 26 Mar 2025 21:11:04 +0100 Subject: [PATCH] =?UTF-8?q?test.sh=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test.sh diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..cc2d110 --- /dev/null +++ b/test.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +DEBUG=true # oder false + +pause_if_debug() { + if [ "$DEBUG" = true ]; then + read -rp "🔍 DEBUG: Drücke [Enter] um fortzufahren..." + fi +} + +echo "📦 Starte Paketinstallation..." +pause_if_debug +echo "✅ Fertig mit der Installation." \ No newline at end of file