diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:02:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 19:02:17 -0300 |
commit | d4b65892ca94076d3254ec0df5df969813afebf9 (patch) | |
tree | f8d094f99205fc073d5f8f6c59484afbff602f4f /lib | |
parent | d9d0c1fdec1a1beebba75e00af7af6f9adc94535 (diff) | |
download | keyringer-d4b65892ca94076d3254ec0df5df969813afebf9.tar.gz keyringer-d4b65892ca94076d3254ec0df5df969813afebf9.tar.bz2 |
Test KEYRINGER_CHECK_VERSION also on keyringer_upgrade
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/functions | 4 |
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 |