浏览代码

Missing char

Bob Mottram 10 年前
父节点
当前提交
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