install: ssh-allowed_signers moved too!

I think I got distracted or something here as I only changed the path, not clone urls or destinations
This commit is contained in:
Aminda Suomalainen 2024-08-11 08:19:55 +03:00
parent a4e527f6ec
commit cc631c1fd2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 3 deletions

View File

@ -5,15 +5,15 @@ set -x
# If my allowed_signers are present, use them, if not, clone them, and try # If my allowed_signers are present, use them, if not, clone them, and try
# again. The gitconfig expects them here. # again. The gitconfig expects them here.
if [ -d ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers ]; then if [ -d ~/src/codeberg.org/Aminda/ssh-allowed_signers ]; then
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
git verify-commit HEAD || exit 1 git verify-commit HEAD || exit 1
sleep 3 sleep 3
else else
echo "Keys not found, cloning..." echo "Keys not found, cloning..."
# -vp - verbose, parent. This comment won't be repeated. # -vp - verbose, parent. This comment won't be repeated.
mkdir -vp ~/src/gitea.blesmrt.net/Mikaela/ mkdir -vp ~/src/codeberg.org/Aminda/
git clone https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers.git ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers git clone https://codeberg.org/Aminda/ssh-allowed_signers.git ~/src/codeberg.org/Aminda/ssh-allowed_signers
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
git verify-commit HEAD || exit 1 git verify-commit HEAD || exit 1
sleep 3 sleep 3