Commit c1268c3d authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play naps2: fix pkgurl (eterbug #17910)

parent caa2ed25
......@@ -26,7 +26,10 @@ else
pkgtype="deb"
fi
PKGURL=$(eget --list --latest https://github.com/cyanfish/naps2/releases "$PKGNAME-$VERSION-linux-$arch.$pkgtype")
if [ "$VERSION" = "*" ] ; then
PKGURL=$(get_github_version "https://github.com/cyanfish/naps2/" "$PKGNAME-.$VERSION-linux-$arch.$pkgtype")
else
PKGURL="https://github.com/cyanfish/naps2/releases/download/v$VERSION/$PKGNAME-$VERSION-linux-$arch.$pkgtype"
fi
install_pkgurl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment