Skip to content

Commit fa83309

Browse files
committed
feat: update README scripts
1 parent 64a4039 commit fa83309

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,24 @@ brew install diyddns
1616
### Easy Shell Script
1717

1818
```sh
19-
curl -fSsL https://git.io/JG0Il | sh
19+
curl -fSsL https://git.io/JcbyA | sh
2020
```
2121

2222
It will prompt you for your OS and ARCH to download and install the right version - it will require sudo to install the binary to /usr/local/bin
2323

2424
### DIY Shell Script
2525

2626
```sh
27+
28+
version=v2.1.0
29+
2730
echo -n "What is your OS? [darwin/linux] "
2831
read os
2932
echo -n "What is your ARCH? [amd64/arm64/armv7/armv6/armv5] "
3033
read arch
3134

32-
curl -o DIYDDNS-$os-$arch.tar.gz -sL https://github.com/ctrlaltdev/DIYDDNS/releases/download/v2.0.0/DIYDDNS-$os-$arch.tar.gz
33-
curl -o DIYDDNS-$os-$arch.tar.gz.sha256 -sL https://github.com/ctrlaltdev/DIYDDNS/releases/download/v2.0.0/DIYDDNS-$os-$arch.tar.gz.sha256
35+
curl -o DIYDDNS-$os-$arch.tar.gz -sL https://github.com/ctrlaltdev/DIYDDNS/releases/download/$version/DIYDDNS-$os-$arch.tar.gz
36+
curl -o DIYDDNS-$os-$arch.tar.gz.sha256 -sL https://github.com/ctrlaltdev/DIYDDNS/releases/download/$version/DIYDDNS-$os-$arch.tar.gz.sha256
3437
sha256sum -c DIYDDNS-$os-$arch.tar.gz.sha256
3538

3639
tar xzf DIYDDNS-$os-$arch.tar.gz

0 commit comments

Comments
 (0)