From a83ae4d0719ab16242b2f5bcedfd273ecf8dfac5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Mar 2021 11:04:44 +0000 Subject: [PATCH] Generate gpg key --- install-desktop-notifications | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-desktop-notifications b/install-desktop-notifications index 6593e166d..d6664e141 100755 --- a/install-desktop-notifications +++ b/install-desktop-notifications @@ -82,6 +82,11 @@ if [[ ! "$notificationType" ]]; then exit 5 fi +if [ ! -d ${HOME}/.gnupg ]; then + echo 'Generating GPG key' + gpg --quick-generate-key "${HANDLE}" ed25519 cert +fi + { echo '[Unit]'; echo 'Description=Epicyon Desktop Notifications'; echo '';