mirror of https://github.com/built-aur/packages
addpkg: clion
This commit is contained in:
parent
1485965e90
commit
d0f5d5a72b
|
@ -0,0 +1,2 @@
|
|||
AUR_NAME="clion"
|
||||
AUR_UPDATED="1652463738"
|
|
@ -72,7 +72,7 @@ update-package() {
|
|||
local latest_version="$(curl --silent --location -H "Authorization: token ${GITHUB_API_TOKEN}" "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" | jq -r ".tag_name")"
|
||||
fi
|
||||
|
||||
if [ -z "${latest_version}" ]
|
||||
if [[ -z "${latest_version}" || "${latest_version}" = "null" ]]
|
||||
then
|
||||
echo "[!] Failed to get latest version of ${pkgname}"
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue