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 source $SUNHAT_PATH/bin/ascii.sh
if [ $# -eq 0 ]; then 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 else
SUB=$1 SUB=$1
fi fi

View File

@ -16,11 +16,11 @@ espanso start
echo "Espanso Update Complete." echo "Espanso Update Complete."
echo "Updating John the Ripper..." #echo "Updating John the Ripper..."
cd ~/.local/share/sunhat/packages/JohnTheRipper/src #cd ~/.local/share/sunhat/packages/JohnTheRipper/src
git pull #git pull
./configure && make #./configure && make
echo "John the Ripper Update Complete." #echo "John the Ripper Update Complete."
echo "Updating Hanabi" echo "Updating Hanabi"
cd ~/.local/share/sunhat/packages/hanabi cd ~/.local/share/sunhat/packages/hanabi