From af80e553c601b5a5af9d4ab3a5e4afe90b687433 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 21 May 2024 20:24:06 +0300 Subject: [PATCH] install: move git verify-commit into the if of whether the keys exist --- install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install b/install index 703b5589..a8b49df2 100755 --- a/install +++ b/install @@ -3,16 +3,14 @@ set -x if [ -d ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers ]; then - printf "\n[OK] ssh-allowed_signers exists\n\n" + git verify-commit HEAD + sleep 3 else echo "Keys not found, cloning..." mkdir -vp ~/src/gitea.blesmrt.net/Mikaela/ git clone https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers.git ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers fi -git verify-commit HEAD -sleep 3 - export MIKAELA_GREP=$HOME/.MIKAELA_GREP cat rc/bashrc >~/.bashrc