Skip to content

Commit

Permalink
(fix issue #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintRaven-05 committed Dec 25, 2024
1 parent ee8f3bb commit d8d35c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ YELLOW='\033[0;33m'
NC='\033[0m'


if [[ "$(grep "VERSION" ~/.local/kaizen/VERSION | cut -c 10-)" == "$(curl -s https://api.github.com/repos/serene-brew/Kaizen/releases/latest | grep tag_name | cut -c 16-21)" ]]; then
if [[ "$(grep "VERSION" ~/.local/share/kaizen/VERSION | cut -c 10-)" == "$(curl -s https://api.github.com/repos/serene-brew/Kaizen/releases/latest | grep tag_name | cut -c 16-21)" ]]; then
echo -e "${GREEN}[+] no updates released !${NC}"
else
echo -e "${YELLOW}[!]A new version of kaizen is released${NC}"
Expand Down Expand Up @@ -41,7 +41,7 @@ else

sleep .3

~/.local/kaizen/uninstall.sh
~/.local/share/kaizen/uninstall.sh

sleep 2
clear
Expand Down

0 comments on commit d8d35c1

Please sign in to comment.