fixed print function and made appropriate changes to other parts of the program; changed version to alpha 8
This commit is contained in:
@@ -23,9 +23,12 @@ fi
|
||||
|
||||
SESSION_ID="$RANDOM"
|
||||
NOTE_DIR="$BASE_DIR"/"$NOTEBOOK"/"$SECTION"/
|
||||
NOTE="$NOTE_DIR""$NAME"."$EXT"
|
||||
|
||||
if [ "$ENCRYPTION" == "TRUE" ]; then NOTE="$NOTE".gpg; fi
|
||||
|
||||
if [ "$ENCRYPTION" == "TRUE" ]; then readonly NOTE="$NOTE_DIR""$NAME"."$EXT".gpg
|
||||
else readonly NOTE="$NOTE_DIR""$NAME"."$EXT"
|
||||
fi
|
||||
|
||||
if [ "$PRINT" == "TRUE" ]; then print; exit 0; fi
|
||||
if [ "$DELETE" == "TRUE" ]; then delete; exit 0; fi
|
||||
if [ "$CREATE" == "TRUE" ]; then create; fi
|
||||
|
||||
Reference in New Issue
Block a user