make $DATA_DIR if it doesnt exist

This commit is contained in:
NRK
2021-04-12 21:27:36 +06:00
parent 4ec761f4e2
commit 208dc09da8

4
sxbm
View File

@ -58,6 +58,10 @@ COMMANDS:
[ -z "$1" ] && usage && die "No command given"
[ -d "$DATA_DIR" ] ||
mkdir "$DATA_DIR" ||
die "Unable to create $DATA_DIR"
case "$1" in
"add")
;;