* usr/bin/vigpg:

- specify stdin for input file
This commit is contained in:
Dustin Kirkland 2015-10-06 12:32:19 -05:00
commit 7dc2d92302
2 changed files with 3 additions and 2 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.98) unreleased; urgency=medium byobu (5.98) unreleased; urgency=medium
* UNRELEASED * usr/bin/vigpg:
- specify stdin for input file
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 31 Aug 2015 13:32:38 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 31 Aug 2015 13:32:38 -0500

View file

@ -48,7 +48,7 @@ fi
# Try to decrypt the target file # Try to decrypt the target file
if [ -e "$encrypted_file" ]; then if [ -e "$encrypted_file" ]; then
(cat "$encrypted_file" | gpg -d > "$cleartext_file") || error "Unable to decrypt target" (cat "$encrypted_file" | gpg -d - > "$cleartext_file") || error "Unable to decrypt target"
fi fi
# Grab a checksum of the cleartext data before modification # Grab a checksum of the cleartext data before modification