change hugo deb url
This commit is contained in:
parent
ca9c89b52a
commit
b0d4326d5d
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user