change to have automatic clearing of the tmp directory

This commit is contained in:
2026-07-27 15:30:34 +02:00
parent d0ac21e7dd
commit c4dd18a2e4
+2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
sudo find /tmp -maxdepth 1 -name "tmp.*" -exec rm -rf {} +
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
cd "$SCRIPT_DIR"