update
This commit is contained in:
parent
9e6b96fb0d
commit
667ae29560
19 changed files with 1854 additions and 70 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue