update.sh: chmod scripts before next run

This commit is contained in:
Hendrik 2026-05-01 18:06:47 +02:00
parent eb2d98bb0d
commit 198ea17414

View file

@ -11,6 +11,7 @@ SERVICE_USER="nexredirect"
cd "$INSTALL_DIR"
chmod +x "$INSTALL_DIR/scripts/"*.sh 2>/dev/null || true
git fetch --tags --quiet
if [[ -n "$TAG" ]]; then
git checkout --quiet "$TAG"