Skip to content

Commit

Permalink
few changes to install scripts, bump version so self-update works
Browse files Browse the repository at this point in the history
  • Loading branch information
Crilum committed Apr 2, 2022
1 parent 9abd04c commit b0cd39a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ curl -s https://api.github.com/repos/Crilum/update/releases/latest \
| grep browser_download_url \
| grep 'all.deb"' \
| cut -d '"' -f 4 \
| xargs -n 1 curl -L -o update_${LATEST}_all.deb
| xargs -n 1 curl -L -s -o update_${LATEST}_all.deb
sudo apt install -yf ./update_${LATEST}_all.deb
rm update_${LATEST}_all.deb
printf "${GREEN}All finished installing!\n${WHITE}Try \'${CYAN}${BOLD}update ${YELLOW}help${WHITE}\' to learn how to use ${CYAN}${BOLD}update${WHITE}!${NC}\n"
2 changes: 1 addition & 1 deletion install-macos
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ printf "\n${WHITE}Installing dependencies with Homebrew...${NC}\n\n"
brew install curl wget chmod
cd /usr/local/bin
printf "\n${WHITE}Downloading ${CYAN}${BOLD}update${NC}${WHITE}...${NC}\n\n"
sudo wget -O update "https://raw.githubusercontent.com/Crilum/update/main/update"
sudo wget -qO update "https://raw.githubusercontent.com/Crilum/update/main/update"
sudo chmod +x update

printf "${GREEN}All finished installing!\n${WHITE}Try \'${CYAN}${BOLD}update ${YELLOW}help${WHITE}\' to learn how to use ${CYAN}${BOLD}update${WHITE}!${NC}\n"
2 changes: 1 addition & 1 deletion update
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version="v1.2.0"
version="v1.2.2"

#Color Variables

Expand Down

0 comments on commit b0cd39a

Please sign in to comment.