This commit is contained in:
torsten 2026-10-29 22:30:01 +01:00
parent 9e6b96fb0d
commit 667ae29560
19 changed files with 1854 additions and 70 deletions

View file

@ -16,7 +16,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DUMP_DIR="${DUMP_DIR:-/home/torsten/repos/tippspiel/tools}"
LEGACY_DB="${DB_OLD_NAME:-tippspiel_legacy}"
DUMP="$(ls -1 "$DUMP_DIR"/pfosten*.sql | tail -1)"
DUMP="${DUMP:-$(ls -1 "$DUMP_DIR"/pfosten*.sql | tail -1)}"
if [[ -z "$DUMP" ]]; then
echo "Fehler: Kein Dump (pfosten*.sql) in $DUMP_DIR gefunden." >&2
exit 1