mangadex-home-rs/init_cache.sh

9 lines
310 B
Bash
Raw Normal View History

2021-04-22 09:44:02 -07:00
#!/usr/bin/env bash
# This script needs to be run once in order for compile time macros to not
# complain about a missing DB
# We can trust that our program will initialize the db at runtime the same way
# as it pulls from the same file for initialization
sqlite3 cache/metadata.sqlite < db_queries/init.sql