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
|
set -x
|
||||||
|
|
||||||
if [ -d ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers ]; then
|
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
|
else
|
||||||
echo "Keys not found, cloning..."
|
echo "Keys not found, cloning..."
|
||||||
mkdir -vp ~/src/gitea.blesmrt.net/Mikaela/
|
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
|
git clone https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers.git ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git verify-commit HEAD
|
|
||||||
sleep 3
|
|
||||||
|
|
||||||
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
||||||
|
|
||||||
cat rc/bashrc >~/.bashrc
|
cat rc/bashrc >~/.bashrc
|
||||||
|
|
Loading…
Reference in New Issue