mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08: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"
|
||||
fi
|
||||
|
||||
if [[ ! -f "$DIR/$DB" ]]; then
|
||||
log "CREATING HISTORY DATABASE"
|
||||
sqlite3 "$DIR/$DB" < sql/search_history_tbl.sql
|
||||
sqlite3 "$DIR/$DB" < sql/watch_history_tbl.sql
|
||||
sqlite3 "$DIR/$DB" < sql/file_history.sql
|
||||
log "CREATING HISTORY DATABASE IF NOT EXISTS"
|
||||
sqlite3 "$DIR/$DB" < sql/history.sql
|
||||
log "FINISHED CREATING DB"
|
||||
fi
|
||||
|
||||
# log "themes directory does not exist in filesystem... Creating and moving themes"
|
||||
mkdir -p "$DIR/themes"
|
||||
|
Loading…
Reference in New Issue
Block a user