mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-23 18:11:34 -05:00
Add set -eu
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e7bff0e91a
commit
8b6c0c1f15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user