More fixes

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2021-10-16 16:28:41 -04:00
parent 256b1db98b
commit 042b9063d1
30 changed files with 84 additions and 81 deletions

View file

@ -107,8 +107,7 @@ umask 0022;
gpgVerifyGitHead() {
if [ -r "$HOME/.gnupg" ]; then
git -C $1 verify-commit HEAD;
if [ "$?" -eq "0" ]; then
if git -C $1 verify-commit HEAD; then
echo -e "\e[0;32mGPG Verified Git HEAD Successfully: $1\e[0m";
else
echo -e "\e[0;31mWARNING: GPG Verification of Git HEAD Failed: $1\e[0m";