diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-28 17:09:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-28 17:09:49 -0300 |
commit | 7b281024fdd9fd7bbf461265316360c80c4deee2 (patch) | |
tree | a416f7b3f76beffe25dbb9533bd48dfccf7aa8d9 /lib/keyringer/functions | |
parent | a5aaf69c3865fd89de64c9b9f3cfc17b0d561843 (diff) | |
download | keyringer-7b281024fdd9fd7bbf461265316360c80c4deee2.tar.gz keyringer-7b281024fdd9fd7bbf461265316360c80c4deee2.tar.bz2 |
Set KEYRINGER_CHECK_VERSION=false on shell completions
Diffstat (limited to 'lib/keyringer/functions')
-rwxr-xr-x | lib/keyringer/functions | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions index e2e8fba..1bc6393 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -230,6 +230,12 @@ function keyringer_set_env { # Configuration version tracking to help keyring upgrades function keyringer_check_version { if [ "$KEYRINGER_CHECK_VERSION" == "false" ]; then + if [ -f "$VERSION_INFO" ]; then + VERSION="`cat $VERSION_INFO`" + else + VERSION="" + fi + return fi |