Files
2026-04-24 12:18:38 +00:00

23 lines
398 B
Bash

#!/usr/bin/env bash
set -e
echo "🔄 Update Temp Cleanup System..."
REPO_DIR="$HOME/workstation-config"
cd "$REPO_DIR"
echo "📥 Hole Updates..."
git pull
echo "🔧 Setze Rechte..."
chmod +x temp-cleanup/cleanup_temp.sh
echo "🔄 Reload systemd..."
systemctl --user daemon-reload
echo "🔁 Restart Timer..."
systemctl --user restart cleanup-temp.timer
echo "✅ Update abgeschlossen!"