Allow for updating when we switch to git for install

This commit is contained in:
David Heinemeier Hansson 2024-06-04 15:21:17 -07:00
parent d5a187ddc0
commit 14baed6996
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
source $OMAKUB_PATH/ascii.sh
if [ $# -eq 0 ]; then
SUB=$(gum choose "Help" "Theme" "Font" "Install" --height 7 --header "" | tr '[:upper:]' '[:lower:]')
SUB=$(gum choose "Help" "Theme" "Font" "Install" "Update" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
else
SUB=$1
fi

3
bin/omakub-update Normal file
View File

@ -0,0 +1,3 @@
cd $OMAKUB_PATH
git pull
cd -