mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-12-05 02:53:37 -08:00
consolidate sql scripts into one
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user