Add upgrade option to upgrade packages obtained outside of package manager or copr
This commit is contained in:
parent
ee48ff7e5a
commit
c0951327f4
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user