add a couple of git verify-commit HEAD

I am uncertain of the usefulness of this and think it may be a security
theathre with all this being poor practice anyway, but at least it's out
of my head now.
This commit is contained in:
Aminda Suomalainen 2022-03-15 21:17:08 +02:00
parent 69db553879
commit 8e28c013d5
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# 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
git verify-commit HEAD
cat .mikaela/bash_aliases> ~/.bash_aliases cat .mikaela/bash_aliases> ~/.bash_aliases
cat .mikaela/zsh_aliases > ~/.zsh_aliases cat .mikaela/zsh_aliases > ~/.zsh_aliases
cat .mikaela/gitconfig > ~/.gitconfig cat .mikaela/gitconfig > ~/.gitconfig

View File

@ -2,6 +2,8 @@
# 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
git verify-commit HEAD
export MIKAELA_GREP=$HOME/.MIKAELA_GREP export MIKAELA_GREP=$HOME/.MIKAELA_GREP
cat rc/bashrc > ~/.bashrc cat rc/bashrc > ~/.bashrc

View File

@ -620,6 +620,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
git fetch --all git fetch --all
git pull git pull
git verify-commit HEAD
sleep 10 sleep 10
echo "" echo ""
echo "shell-things: Installing/Upgrading..." echo "shell-things: Installing/Upgrading..."

View File

@ -597,6 +597,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
git fetch --all git fetch --all
git pull git pull
git verify-commit HEAD
sleep 10 sleep 10
echo "" echo ""
echo "shell-things: Installing/Upgrading..." echo "shell-things: Installing/Upgrading..."