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 VER_STR="v2.0a12"
|
||||||
readonly ROOT_DIR="$HOME"/.local/sns
|
readonly ROOT_DIR="$HOME"/.local/sns
|
||||||
readonly NOTES_DIR="$ROOT_DIR"/notes
|
readonly NOTES_DIR="$ROOT_DIR"/notes
|
||||||
readonly TMP_DIR="$ROOT_DIR"/tmp
|
readonly TMP_DIR=/tmp
|
||||||
readonly CONFIG_FILE="$ROOT_DIR/sns.conf"
|
readonly CONFIG_FILE="$ROOT_DIR/sns.conf"
|
||||||
|
|
||||||
# Color codes for messages
|
# Color codes for messages
|
||||||
@@ -32,6 +32,9 @@ readonly RED_COLOR='\033[1;31m'
|
|||||||
readonly YELLOW_COLOR='\033[1;33m'
|
readonly YELLOW_COLOR='\033[1;33m'
|
||||||
readonly RESET_COLOR='\033[0m'
|
readonly RESET_COLOR='\033[0m'
|
||||||
|
|
||||||
|
# Signals
|
||||||
|
NO_HEADER=""
|
||||||
|
|
||||||
#Print the program header to stdout
|
#Print the program header to stdout
|
||||||
printf "%s\n" "$PROD_STR"
|
printf "%s\n" "$PROD_STR"
|
||||||
printf "%s\n" "------------------"
|
printf "%s\n" "------------------"
|
||||||
|
|||||||
Reference in New Issue
Block a user