Missing char

This commit is contained in:
Bob Mottram 2014-10-02 14:43:48 +01:00
parent 4c55b10ebb
commit dd4eb4b242
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ function create_backup_script {
fi fi
apt-get -y --force-yes install duplicity gnupg 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}') 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 fi