Sweeping refinements and formatting changes
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
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"
|
||||
if [ ! -d "$DIR" ]; then
|
||||
mkdir -p "$DIR"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user