diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-18 19:26:48 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:43:07 -0400 |
commit | be9755bbcaf784387e7e300a7cd5fef53a30bb8b (patch) | |
tree | e2089a3476039565943dff795f3686572bc18c46 /bin | |
parent | sha256sums target should follow sha256's format (diff) |
gpg --lock-never since encfs doesn't support locking
Diffstat (limited to '')
-rwxr-xr-x | bin/gpg-wrapper | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/gpg-wrapper b/bin/gpg-wrapper index ab9f8f5..2e2e92d 100755 --- a/bin/gpg-wrapper +++ b/bin/gpg-wrapper @@ -23,14 +23,15 @@ else decrypted_dir=${GNUPGHOME} fi +# --lock-never is needed since encfs doesn't support locking any more if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else gpg-mounter if [ -f ${decrypted_dir}/gpg.conf ] then - exec gpg --homedir ${decrypted_dir} $@ + exec gpg --lock-never --homedir ${decrypted_dir} $@ else echo 'No gnupg.conf in ${decrypted_dir}' exit 1 |