1
0
mirror of https://github.com/tommytran732/tommytran.io synced 2024-12-26 16:52:15 -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
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
wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Linux-64bit.tar.gz