mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
fix database creation bug
This commit is contained in:
parent
ed9288adfb
commit
ff4ee0a5f8
4
setup.sh
4
setup.sh
@ -46,8 +46,8 @@ run_setup() {
|
|||||||
if [[ ! -f "$DIR/$DB" ]]; then
|
if [[ ! -f "$DIR/$DB" ]]; then
|
||||||
# Create the DB if not exists
|
# Create the DB if not exists
|
||||||
log "Creating history database..."
|
log "Creating history database..."
|
||||||
sqlite3 "$DIR/$DB" sql/watch_history_tbl.sql
|
sqlite3 "$DIR/$DB" < sql/watch_history_tbl.sql
|
||||||
sqlite3 "$DIR/$DB" sql/search_history_tbl.sql
|
sqlite3 "$DIR/$DB" < sql/search_history_tbl.sql
|
||||||
log "History database created..."
|
log "History database created..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user