Skip to content

Commit

Permalink
Store gpgtar files in pictues
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Feb 14, 2020
1 parent c5ef614 commit 43e32eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/decrypt_folder
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export GPG_TTY=$(tty)
filename="$(realpath $1)"

# Android doesn't have `/tmp`. Use `$HOME` instead
tmp=$([ -d /tmp ] && echo "/tmp" || echo "$HOME")
tmp=$([ -d /tmp ] && echo "/tmp" || echo "$HOME/storage/pictures")

if [ -z "$filename" ]; then
echo "Please give an encrypted archive to decrypt."
Expand Down
2 changes: 1 addition & 1 deletion bin/recrypt_folder
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ filename="$(realpath "$1")"
script_path="$(dirname "$0")"

# Android doesn't have `/tmp`. Use `$HOME` instead
tmp=$([ -d /tmp ] && echo "/tmp" || echo "$HOME")
tmp=$([ -d /tmp ] && echo "/tmp" || echo "$HOME/storage/pictures")

if [ -z "$filename" ]; then
echo "Please give an encrypted archive to update."
Expand Down

0 comments on commit 43e32eb

Please sign in to comment.