summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 2955473..3022bbe 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -225,6 +225,10 @@ function keyringer_set_env {
# Configuration version tracking to help keyring upgrades
function keyringer_check_version {
+ if [ "$KEYRINGER_CHECK_VERSION" == "false" ]; then
+ return
+ fi
+
if [ ! -f "$VERSION_INFO" ]; then
echo "Configuration version file not found, trying to pull from remotes..."
for remote in "$BASEDIR/.git/refs/remotes/*"; do