Bob Mottram 10 lat temu
rodzic
commit
dd4eb4b242
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      install-freedombone.sh

+ 1
- 1
install-freedombone.sh Wyświetl plik

@@ -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