瀏覽代碼

Additional messages when creating gpg key

Bob Mottram 8 年之前
父節點
當前提交
3dcd54cc6c
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      src/freedombone-base-email

+ 6
- 0
src/freedombone-base-email 查看文件

1530
     gpg_dir=/home/$MY_USERNAME/.gnupg
1530
     gpg_dir=/home/$MY_USERNAME/.gnupg
1531
 
1531
 
1532
     # if gpg keys directory was previously imported from usb
1532
     # if gpg keys directory was previously imported from usb
1533
+    echo $"GPG keys imported: $GPG_KEYS_IMPORTED"
1534
+    if [ -d $gpg_dir ]; then
1535
+        echo $'GPG directory exists'
1536
+    else
1537
+        echo $"GPG directory $gpg_dir was not found"
1538
+    fi
1533
     if [[ $GPG_KEYS_IMPORTED == "yes" && -d $gpg_dir ]]; then
1539
     if [[ $GPG_KEYS_IMPORTED == "yes" && -d $gpg_dir ]]; then
1534
         echo $'GPG keys were imported'
1540
         echo $'GPG keys were imported'
1535
         sed -i "s|keyserver hkp://keys.gnupg.net|keyserver $GPG_KEYSERVER|g" $gpg_dir/gpg.conf
1541
         sed -i "s|keyserver hkp://keys.gnupg.net|keyserver $GPG_KEYSERVER|g" $gpg_dir/gpg.conf