change hugo deb url

This commit is contained in:
Florian du Garage Num 2022-10-23 20:20:32 +02:00
parent ca9c89b52a
commit b0d4326d5d
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ cd my-website
``` ```
curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \ curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
| grep browser_download_url \ | grep browser_download_url \
| grep Linux-64bit.deb \ | grep linux-amd64.deb \
| grep -v extended \ | grep -v extended \
| cut -d '"' -f 4 \ | cut -d '"' -f 4 \
| wget -i - | wget -i -
@ -50,7 +50,7 @@ curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
#### Install it #### Install it
``` ```
sudo dpkg -i hugo*_Linux-64bit.deb sudo dpkg -i hugo*_linux-amd64.deb
``` ```
### Run Hugo ### Run Hugo

View File

@ -13,7 +13,7 @@ sudo apt install curl wget git
``` ```
curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \ curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
| grep browser_download_url \ | grep browser_download_url \
| grep Linux-64bit.deb \ | grep linux-amd64.deb \
| grep -v extended \ | grep -v extended \
| cut -d '"' -f 4 \ | cut -d '"' -f 4 \
| wget -i - | wget -i -
@ -21,7 +21,7 @@ curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
### Install it ### Install it
``` ```
sudo dpkg -i hugo*_Linux-64bit.deb sudo dpkg -i hugo*_linux-amd64.deb
``` ```
## Run hugo ## Run hugo