Update readme, remove wget need
Do no longer use wget to download the file, use curl. Check that curl and jq exists. Update ReadMe file
This commit is contained in:
@@ -9,7 +9,7 @@ curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |\
|
||||
grep browser_download_url |\
|
||||
cut -d '"' -f 4 |\
|
||||
grep "${arch}$" |\
|
||||
wget -P "${download_folder}" -i -
|
||||
xargs curl -LJO --output-dir "${download_folder}"
|
||||
cd - || exit;
|
||||
|
||||
# __END__
|
||||
|
||||
Reference in New Issue
Block a user