fixed print function and made appropriate changes to other parts of the program; changed version to alpha 8

This commit is contained in:
Jon-William Lewis
2016-01-25 21:20:20 -06:00
parent 2d8db83c3c
commit 25e5d399d1
6 changed files with 23 additions and 15 deletions

View File

@@ -7,7 +7,8 @@ fi
if [ "$ENCRYPTION" == "TRUE" ]; then
cp "$NOTE" "$NOTE".bk
if [ ! -d "$ROOT_DIR"/tmp ]; then mkdir "$ROOT_DIR"/tmp; fi
decrypt > "$TMP_DIR/$RANDOM"
TARGET="$TMP_DIR/$SESSION_ID"
decrypt > "$TARGET"
else TARGET="$NOTE"; fi