Sweeping refinements and formatting changes

This commit is contained in:
Jon-William Lewis
2016-02-15 11:24:57 -06:00
parent 86fb0d2019
commit 7085a46ef3
16 changed files with 133 additions and 137 deletions

View File

@@ -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
}