mirror of
https://github.com/burghardt/easy-wg-quick.git
synced 2024-11-24 08:42:29 +02:00
Fixed code formatting reported by shfmt.
This commit is contained in:
parent
7b78937095
commit
d657a91afc
@ -695,8 +695,8 @@ upgrade_easy_wg_quick() {
|
||||
REPO='burghardt/easy-wg-quick'
|
||||
APIURL="https://api.github.com/repos/${REPO}/releases/latest"
|
||||
|
||||
APIDATA="$(curl -sL "${APIURL}" || \
|
||||
wget -qO- "${APIURL}" || \
|
||||
APIDATA="$(curl -sL "${APIURL}" ||
|
||||
wget -qO- "${APIURL}" ||
|
||||
fetch -qo- "${APIURL}")"
|
||||
TAG="$(echo "${APIDATA}" | grep -oP '"tag_name": "\K(.*?)(?=")')"
|
||||
DLURL="https://raw.githubusercontent.com/${REPO}/${TAG}/easy-wg-quick"
|
||||
|
Loading…
Reference in New Issue
Block a user