From ed6164dfbf5a2217d4c9e75868da93884dcfc9d7 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 8 May 2024 22:29:27 -0500 Subject: [PATCH] If git is disabled, then show the keys the user will need to set directly --- fsss-ssh.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fsss-ssh.sh b/fsss-ssh.sh index db74298..a4b1933 100644 --- a/fsss-ssh.sh +++ b/fsss-ssh.sh @@ -34,4 +34,11 @@ if [[ "${ovrgit}" == "y" || "${ovrgit}" == "Y" ]] ; then git config --global user.email "$email" else echo '[INFO] Not Reconfiguring git!' + echo '[INFO] If you want forgejo to use the new gpg key, you\'ll need to set a few keys in `app.ini`.' + echo '[INFO] The keys you\'ll need to set are:' + echo '[repository.signing]' + echo "SINGING_KEY = $key_id" + echo "SIGNING_NAME = $rname" + echo "SIGNING_EMAIL = $email" + echo '[INFO] This script does recommend that you use the default git setup with GPG keys, however.' fi