Browse Source

Additional messages when creating gpg key

Bob Mottram 7 years ago
parent
commit
3dcd54cc6c
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/freedombone-base-email

+ 6
- 0
src/freedombone-base-email View File

@@ -1530,6 +1530,12 @@ function configure_gpg {
1530 1530
     gpg_dir=/home/$MY_USERNAME/.gnupg
1531 1531
 
1532 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 1539
     if [[ $GPG_KEYS_IMPORTED == "yes" && -d $gpg_dir ]]; then
1534 1540
         echo $'GPG keys were imported'
1535 1541
         sed -i "s|keyserver hkp://keys.gnupg.net|keyserver $GPG_KEYSERVER|g" $gpg_dir/gpg.conf