summaryrefslogtreecommitdiff
path: root/lib/keyringer/functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/keyringer/functions')
-rwxr-xr-xlib/keyringer/functions6
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