Additional messages when creating gpg key
This commit is contained in:
parent
4c19fb89ba
commit
3dcd54cc6c
|
@ -1530,6 +1530,12 @@ function configure_gpg {
|
|||
gpg_dir=/home/$MY_USERNAME/.gnupg
|
||||
|
||||
# if gpg keys directory was previously imported from usb
|
||||
echo $"GPG keys imported: $GPG_KEYS_IMPORTED"
|
||||
if [ -d $gpg_dir ]; then
|
||||
echo $'GPG directory exists'
|
||||
else
|
||||
echo $"GPG directory $gpg_dir was not found"
|
||||
fi
|
||||
if [[ $GPG_KEYS_IMPORTED == "yes" && -d $gpg_dir ]]; then
|
||||
echo $'GPG keys were imported'
|
||||
sed -i "s|keyserver hkp://keys.gnupg.net|keyserver $GPG_KEYSERVER|g" $gpg_dir/gpg.conf
|
||||
|
|
Loading…
Reference in New Issue