File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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
2222It 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+
2730echo -n " What is your OS? [darwin/linux] "
2831read os
2932echo -n " What is your ARCH? [amd64/arm64/armv7/armv6/armv5] "
3033read 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
3437sha256sum -c DIYDDNS-$os -$arch .tar.gz.sha256
3538
3639tar xzf DIYDDNS-$os -$arch .tar.gz
You can’t perform that action at this time.
0 commit comments