Add upgrade option to upgrade packages obtained outside of package manager or copr

This commit is contained in:
Gabriel Brown 2025-01-29 18:57:28 -06:00
parent ee48ff7e5a
commit c0951327f4
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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