From fb3f39126e4a20006f42a68628238dc4fec797aa Mon Sep 17 00:00:00 2001 From: kai Date: Thu, 14 May 2026 17:37:28 +0000 Subject: [PATCH] =?UTF-8?q?pingu-status=20Block=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/update.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/update.sh b/scripts/update.sh index b490f46..aaf8681 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -164,4 +164,19 @@ EOF fi } +# pingu-status Block +echo "[INFO] Installiere pingu-status..." + +STATUS_SRC="/opt/pingu/repo/scripts/pingu-status.sh" +STATUS_DST="/usr/local/bin/pingu-status" + +if [ -f "$STATUS_SRC" ]; then + cp "$STATUS_SRC" "$STATUS_DST" + chmod 755 "$STATUS_DST" + chown root:root "$STATUS_DST" + echo "[OK] pingu-status installiert" +else + echo "[WARN] pingu-status.sh nicht gefunden im Repo" +fi + main "$@" \ No newline at end of file