mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 07:03:54 +01:00
Fix typos
This commit is contained in:
parent
259b05ff33
commit
2b69b4b3c1
@ -1164,11 +1164,11 @@ function DecryptFiles {
|
|||||||
|
|
||||||
# Detect if GnuPG >= 2.1 that does not allow automatic pin entry anymore
|
# Detect if GnuPG >= 2.1 that does not allow automatic pin entry anymore
|
||||||
cryptToolVersion=$($CRYPT_TOOL --version | head -1 | awk '{print $3}')
|
cryptToolVersion=$($CRYPT_TOOL --version | head -1 | awk '{print $3}')
|
||||||
cryptToolMajorVersion={$cryptToolVersion%%.*}
|
cryptToolMajorVersion=${cryptToolVersion%%.*}
|
||||||
cryptToolSubVersion=${cryptToolVersion#*.}
|
cryptToolSubVersion=${cryptToolVersion#*.}
|
||||||
cryptToolSubVersion=${cryptToolSubVersion%.*}
|
cryptToolSubVersion=${cryptToolSubVersion%.*}
|
||||||
|
|
||||||
if [ $cryptToolMajorVersion -eq 2 ] && [ $cryptToolsubVersion -ge 1 ]; then
|
if [ $cryptToolMajorVersion -eq 2 ] && [ $cryptToolSubVersion -ge 1 ]; then
|
||||||
additionalParameters="--pinentry-mode loopback"
|
additionalParameters="--pinentry-mode loopback"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user