function verify_store { ETC_DIR=$(dirname "$CONFIG_FILE") STORE_DIRS=("$ROOT_DIR" "$NOTES_DIR" "$TMP_DIR" "$ETC_DIR") for DIR in "${STORE_DIRS[@]}"; do if [ ! -d "$DIR" ]; then mkdir -p "$DIR" fi done }