Skip to content

Commit

Permalink
Update dump in bin/seed
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed May 7, 2023
1 parent 19815fd commit 3c85450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/seed
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

DB_TARGET_ID="kitsu_development"
DB_FILE_LINK="https://s3.amazonaws.com/kitsu-dev-dumps/2018-11-04.sql.gz"
DB_FILE_LINK="https://f002.backblazeb2.com/file/kitsu-dumps/latest.sql.gz"
DB_FILE_NAME="anime.sql.gz"
DEFAULT_AMNT=200

Expand All @@ -28,7 +28,7 @@ function do_clean {

function do_download {
if [[ -e $DB_FILE_NAME ]]; then
echo -e "${COLOR_RED}There alread is a $DB_FILE_NAME in this directory!${COLOR_NONE}"
echo -e "${COLOR_RED}There already is a $DB_FILE_NAME in this directory!${COLOR_NONE}"
echo "If you don't need it anymore, feel free to bin/seed clean"
exit 0
fi
Expand Down

1 comment on commit 3c85450

@thino-dev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extrac file show "gzip: anime.sql.gz: not in gzip format"

Please sign in to comment.