mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
consolidate sql scripts into one
This commit is contained in:
parent
a56fe29a29
commit
6137deb26b
8
setup.sh
8
setup.sh
@ -43,13 +43,9 @@ run_setup() {
|
|||||||
log "Directory created"
|
log "Directory created"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f "$DIR/$DB" ]]; then
|
log "CREATING HISTORY DATABASE IF NOT EXISTS"
|
||||||
log "CREATING HISTORY DATABASE"
|
sqlite3 "$DIR/$DB" < sql/history.sql
|
||||||
sqlite3 "$DIR/$DB" < sql/search_history_tbl.sql
|
|
||||||
sqlite3 "$DIR/$DB" < sql/watch_history_tbl.sql
|
|
||||||
sqlite3 "$DIR/$DB" < sql/file_history.sql
|
|
||||||
log "FINISHED CREATING DB"
|
log "FINISHED CREATING DB"
|
||||||
fi
|
|
||||||
|
|
||||||
# log "themes directory does not exist in filesystem... Creating and moving themes"
|
# log "themes directory does not exist in filesystem... Creating and moving themes"
|
||||||
mkdir -p "$DIR/themes"
|
mkdir -p "$DIR/themes"
|
||||||
|
Loading…
Reference in New Issue
Block a user