Add notices
This commit is contained in:
parent
3a3457cc4c
commit
ccad60092b
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
echo '[INFO] Make sure to run this script as the user that forejo runs as, over ssh, or with manual ownership grants to your current tty!'
|
||||
echo '[NOTICE] Make sure to run this script as the user that forejo runs as, via ssh or with manual ownership grants to your current tty!'
|
||||
echo '[NOTICE] This script modifes your default git config! If forejo runs as your user, then this will mess up your default git config!'
|
||||
rname="NUL"
|
||||
read -p '"Real Name" for gpg and git: ' rname
|
||||
email="NUL"
|
||||
read -p 'Email: ' email
|
||||
echo '[INFO] Now creating a gpg key, please fill out the inforemation with what you want for forejo to use.'
|
||||
echo '[INFO] Now creating a gpg key using the real name and email provided'
|
||||
echo "$ gpg --default-new-key-algo rsa4096 --quick-gen-key --batch --passphrase '' \"$rname <$email>\""
|
||||
gpg --default-new-key-algo rsa4096 --quick-gen-key --batch --passphrase '' "$rname <$email>"
|
||||
echo '[INFO] Listing keys'
|
||||
|
|
Loading…
Reference in a new issue