Code cleanup
This commit is contained in:
7
src/includes/verify_store.sns.sh
Normal file
7
src/includes/verify_store.sns.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
function verify_store {
|
||||
ETC_DIR="$(dirname \"$CONFIG_FILE\")"
|
||||
STORE_DIRS=("$ROOT_DIR" "$NOTES_DIR" "$TMP_DIR" "$ETC_DIR")
|
||||
for DIR in ${STORE_DIRS[@]}; do
|
||||
mkdir -p "$DIR"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user