We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6906f5e commit d4bff0eCopy full SHA for d4bff0e
plugin/source/dynamix.unraid.net/pkg_build.sh
@@ -80,8 +80,7 @@ rm "/tmp/${latest_nodejs}"
80
base_nghttp3_url="https://mirrors.slackware.com/slackware/slackware64-current/slackware64/n/"
81
latest_nghttp3=$(wget -q -O- "${base_nghttp3_url}" | grep -o "nghttp3-[0-9.]*-x86_64-[0-9]*\.txz" | sort -V | tail -n 1)
82
nghttp3_download_url="${base_nghttp3_url}${latest_nghttp3}"
83
-wget -q "${nghttp3_download_url}" -O "/tmp/${latest_nghttp3}"
84
-if [[ $? -ne 0 ]]; then
+if ! wget -q "${nghttp3_download_url}" -O "/tmp/${latest_nghttp3}"; then
85
echo "Error: Failed to download nghttp3 package."
86
exit 1
87
fi
0 commit comments