Skip to content

Commit

Permalink
chore: Update installation script to use toast.sh domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 16, 2024
1 parent 2dc16fe commit 171aca8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## install

```bash
bash -c "$(curl -fsSL opspresso.github.io/toaster/install.sh)"
bash -c "$(curl -fsSL toast.sh/install)"
```

## usage
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _install() {
VERSION=$(curl -s https://api.github.com/repos/$USERNAME/$REPONAME/releases/latest | grep tag_name | cut -d'"' -f4)

if [ -z ${VERSION} ]; then
VERSION=$(curl -fsSL toaster.run/VERSION | xargs)
VERSION=$(curl -fsSL toast.sh/VERSION | xargs)
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion toaster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ _version() {

_update() {
# _echo "# version: ${THIS_VERSION}" 3
curl -fsSL toaster.run/install | bash -s ${PARAM1}
curl -fsSL toast.sh/install | bash -s ${PARAM1}
exit 0
}

Expand Down

0 comments on commit 171aca8

Please sign in to comment.