1
0
mirror of https://github.com/tommytran732/tommytran.io synced 2024-11-24 02:21:34 -05:00

Add set -eu

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-20 18:25:17 -07:00
parent e7bff0e91a
commit 8b6c0c1f15
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -eu
#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget #curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget
wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Linux-64bit.tar.gz wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Linux-64bit.tar.gz