From c0951327f43fa6c0f5176dcb07148a58ba89344a Mon Sep 17 00:00:00 2001
From: gibbyb <gib@gibbyb.com>
Date: Wed, 29 Jan 2025 18:57:28 -0600
Subject: [PATCH] Add upgrade option to upgrade packages obtained outside of
 package manager or copr

---
 bin/sunhat         |  2 +-
 bin/sunhat-upgrade | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/sunhat b/bin/sunhat
index 7c03af5..06ef9c8 100755
--- a/bin/sunhat
+++ b/bin/sunhat
@@ -3,7 +3,7 @@
 source $SUNHAT_PATH/bin/ascii.sh
 
 if [ $# -eq 0 ]; then
-	SUB=$(gum choose "theme" "font" "install" "update" "push" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
+	SUB=$(gum choose "theme" "font" "install" "update" "push" "upgrade" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
 else
 	SUB=$1
 fi
diff --git a/bin/sunhat-upgrade b/bin/sunhat-upgrade
index f8635c1..a3cfb3b 100644
--- a/bin/sunhat-upgrade
+++ b/bin/sunhat-upgrade
@@ -16,11 +16,11 @@ espanso start
 echo "Espanso Update Complete."
 
 
-echo "Updating John the Ripper..."
-cd ~/.local/share/sunhat/packages/JohnTheRipper/src
-git pull
-./configure && make
-echo "John the Ripper Update Complete."
+#echo "Updating John the Ripper..."
+#cd ~/.local/share/sunhat/packages/JohnTheRipper/src
+#git pull
+#./configure && make
+#echo "John the Ripper Update Complete."
 
 echo "Updating Hanabi"
 cd ~/.local/share/sunhat/packages/hanabi