mangadex-home-rs/init_cache.sh

10 lines
322 B
Bash
Raw Normal View History

2021-04-22 16:44:02 +00: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
2021-04-23 01:21:32 +00:00
mkdir cache
2021-04-22 16:44:02 +00:00
sqlite3 cache/metadata.sqlite < db_queries/init.sql