From 8e28c013d5e7545f0caa29b75a352fe879eb0861 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 15 Mar 2022 21:17:08 +0200 Subject: [PATCH] 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. --- .mikaela_install | 1 + install | 2 ++ rc/bashrc | 1 + rc/zshrc | 1 + 4 files changed, 5 insertions(+) diff --git a/.mikaela_install b/.mikaela_install index a4a8c1e3..fed64a8a 100755 --- a/.mikaela_install +++ b/.mikaela_install @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Do not use this script unless you know what you are doing! set -x +git verify-commit HEAD cat .mikaela/bash_aliases> ~/.bash_aliases cat .mikaela/zsh_aliases > ~/.zsh_aliases cat .mikaela/gitconfig > ~/.gitconfig diff --git a/install b/install index d5b2096f..e0bbb336 100755 --- a/install +++ b/install @@ -2,6 +2,8 @@ # Do not use this script unless you know what you are doing! set -x +git verify-commit HEAD + export MIKAELA_GREP=$HOME/.MIKAELA_GREP cat rc/bashrc > ~/.bashrc diff --git a/rc/bashrc b/rc/bashrc index 8d2d0f04..ffbc6f55 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -620,6 +620,7 @@ if [ -d $SHELL_THINGS_REPO ]; then git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git fetch --all git pull + git verify-commit HEAD sleep 10 echo "" echo "shell-things: Installing/Upgrading..." diff --git a/rc/zshrc b/rc/zshrc index 673df611..9656a8a3 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -597,6 +597,7 @@ if [ -d $SHELL_THINGS_REPO ]; then git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git git fetch --all git pull + git verify-commit HEAD sleep 10 echo "" echo "shell-things: Installing/Upgrading..."