Changed default TMP_DIR to /tmp, as /tmp is usually in memory.
This commit is contained in:
@@ -24,7 +24,7 @@ readonly PROD_STR="Simple Note System"
|
||||
readonly VER_STR="v2.0a12"
|
||||
readonly ROOT_DIR="$HOME"/.local/sns
|
||||
readonly NOTES_DIR="$ROOT_DIR"/notes
|
||||
readonly TMP_DIR="$ROOT_DIR"/tmp
|
||||
readonly TMP_DIR=/tmp
|
||||
readonly CONFIG_FILE="$ROOT_DIR/sns.conf"
|
||||
|
||||
# Color codes for messages
|
||||
@@ -32,6 +32,9 @@ readonly RED_COLOR='\033[1;31m'
|
||||
readonly YELLOW_COLOR='\033[1;33m'
|
||||
readonly RESET_COLOR='\033[0m'
|
||||
|
||||
# Signals
|
||||
NO_HEADER=""
|
||||
|
||||
#Print the program header to stdout
|
||||
printf "%s\n" "$PROD_STR"
|
||||
printf "%s\n" "------------------"
|
||||
|
||||
Reference in New Issue
Block a user