mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
install: ssh-allowed_signers moved too!
I think I got distracted or something here as I only changed the path, not clone urls or destinations
This commit is contained in:
parent
a4e527f6ec
commit
cc631c1fd2
6
install
6
install
@ -5,15 +5,15 @@ set -x
|
|||||||
|
|
||||||
# If my allowed_signers are present, use them, if not, clone them, and try
|
# If my allowed_signers are present, use them, if not, clone them, and try
|
||||||
# again. The gitconfig expects them here.
|
# again. The gitconfig expects them here.
|
||||||
if [ -d ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers ]; then
|
if [ -d ~/src/codeberg.org/Aminda/ssh-allowed_signers ]; then
|
||||||
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
||||||
git verify-commit HEAD || exit 1
|
git verify-commit HEAD || exit 1
|
||||||
sleep 3
|
sleep 3
|
||||||
else
|
else
|
||||||
echo "Keys not found, cloning..."
|
echo "Keys not found, cloning..."
|
||||||
# -vp - verbose, parent. This comment won't be repeated.
|
# -vp - verbose, parent. This comment won't be repeated.
|
||||||
mkdir -vp ~/src/gitea.blesmrt.net/Mikaela/
|
mkdir -vp ~/src/codeberg.org/Aminda/
|
||||||
git clone https://gitea.blesmrt.net/Mikaela/ssh-allowed_signers.git ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers
|
git clone https://codeberg.org/Aminda/ssh-allowed_signers.git ~/src/codeberg.org/Aminda/ssh-allowed_signers
|
||||||
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
|
||||||
git verify-commit HEAD || exit 1
|
git verify-commit HEAD || exit 1
|
||||||
sleep 3
|
sleep 3
|
||||||
|
Loading…
Reference in New Issue
Block a user