瀏覽代碼

Missing char

Bob Mottram 11 年之前
父節點
當前提交
dd4eb4b242
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh 查看文件

@@ -307,7 +307,7 @@ function create_backup_script {
307 307
   fi
308 308
   apt-get -y --force-yes install duplicity gnupg
309 309
 
310
-  if [ ! MY_GPG_PUBLIC_KEY_ID ]; then
310
+  if [ ! $MY_GPG_PUBLIC_KEY_ID ]; then
311 311
 	  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}')
312 312
   fi
313 313