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