summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 37a33aa..0da1548 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -281,6 +281,10 @@ function keyringer_upgrade {
# Variable used to hold applied version upgrades
local version="$VERSION"
+ if [ "$KEYRINGER_CHECK_VERSION" == "false" ]; then
+ return
+ fi
+
# Upgrade 0.1
if [ "$version" == "0" ]; then
if [ ! -d "$RECIPIENTS" ]; then