mangadex-home-rs/init_cache.sh

10 lines
322 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
2021-04-22 18:21:32 -07:00
mkdir cache
2021-04-22 09:44:02 -07:00
sqlite3 cache/metadata.sqlite < db_queries/init.sql