double brackets

This commit is contained in:
Bob Mottram 2014-09-23 15:39:33 +01:00
parent 23cc7966d5
commit bcf920ee6d
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ function configure_gpg {
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.gnupg chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.gnupg
if $MY_GPG_PUBLIC_KEY && $MY_GPG_PRIVATE_KEY; then if [[ $MY_GPG_PUBLIC_KEY && $MY_GPG_PRIVATE_KEY ]]; then
# use your existing GPG keys which were exported # use your existing GPG keys which were exported
if [ ! -f $MY_GPG_PUBLIC_KEY ]; then if [ ! -f $MY_GPG_PUBLIC_KEY ]; then
echo "GPG public key file $MY_GPG_PUBLIC_KEY was not found" echo "GPG public key file $MY_GPG_PUBLIC_KEY was not found"