mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
install: attempt to ensure allowed signers exist
This commit is contained in:
parent
79411a0932
commit
e92addc23f
9
install
9
install
@ -2,7 +2,16 @@
|
|||||||
# Do not use this script unless you know what you are doing!
|
# Do not use this script unless you know what you are doing!
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
if [ -d ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers ]; then
|
||||||
|
printf "\n[OK] ssh-allowed_signers exists\n\n"
|
||||||
|
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
|
git verify-commit HEAD
|
||||||
|
sleep 3
|
||||||
|
|
||||||
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user