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
10
setup.sh
10
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 "FINISHED CREATING DB"
|
||||
fi
|
||||
log "CREATING HISTORY DATABASE IF NOT EXISTS"
|
||||
sqlite3 "$DIR/$DB" < sql/history.sql
|
||||
log "FINISHED CREATING DB"
|
||||
|
||||
# log "themes directory does not exist in filesystem... Creating and moving themes"
|
||||
mkdir -p "$DIR/themes"
|
||||
|
Loading…
Reference in New Issue
Block a user