update db.sh to set default directory if not exist

This commit is contained in:
ksyasuda 2021-11-10 00:22:24 -08:00
parent 3852365391
commit 29a656784a

2
db.sh
View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
DIR="$XDG_CONFIG_HOME/aniwrapper"
DB='history.sqlite3'