From dd4eb4b24278c3df17080a4870817de514f5ee86 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 2 Oct 2014 14:43:48 +0100 Subject: [PATCH] Missing char --- install-freedombone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 175090ad..74646072 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -307,7 +307,7 @@ function create_backup_script { fi apt-get -y --force-yes install duplicity gnupg - if [ ! MY_GPG_PUBLIC_KEY_ID ]; then + if [ ! $MY_GPG_PUBLIC_KEY_ID ]; then MY_GPG_PUBLIC_KEY_ID=$(su -c "gpg --list-keys $MY_USERNAME@$DOMAIN_NAME | grep 'pub '" - $MY_USERNAME | awk -F ' ' '{print $2}' | awk -F '/' '{print $2}') fi