mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-24 20:19:40 +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
|
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
Block a user