mangadex-home-rs/init_cache.sh
2021-04-22 21:21:32 -04:00

10 lines
No EOL
322 B
Bash
Executable file

#!/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
mkdir cache
sqlite3 cache/metadata.sqlite < db_queries/init.sql