mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
install: move git verify-commit into the if of whether the keys exist
This commit is contained in:
parent
1769f3b6dc
commit
af80e553c6
6
install
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user