Commit 7fb36c1d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play librewolf: use direct link

parent e3b2a6bb
...@@ -19,21 +19,24 @@ if [ "$VERSION" = "*" ] ; then ...@@ -19,21 +19,24 @@ if [ "$VERSION" = "*" ] ; then
VERSION="$(eget --list --latest https://repo.librewolf.net/pool/ | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?')" VERSION="$(eget --list --latest https://repo.librewolf.net/pool/ | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?')"
fi fi
# hack: assure there are 1 in any way
rel=1
pkgtype=$(epm print info -p) pkgtype=$(epm print info -p)
case $pkgtype in case $pkgtype in
rpm) rpm)
# https://repo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-rpm.rpm # https://repo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-rpm.rpm
PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-[0-9]*-linux-$arch-rpm.rpm" PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-$rel-linux-$arch-rpm.rpm"
;; ;;
*) *)
# https://repo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-deb.deb # https://repo.librewolf.net/pool/librewolf-132.0-1-linux-x86_64-deb.deb
PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-[0-9]*-linux-$arch-deb.deb" PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-$rel-linux-$arch-deb.deb"
;; ;;
esac esac
if ! is_glibc_enough 2.35 ; then if ! is_glibc_enough 2.35 ; then
# use deb package for old glibc # use deb package for old glibc
PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-[0-9]*-linux-$arch-deb.deb" PKGURL="https://repo.librewolf.net/pool/librewolf-$VERSION-$rel-linux-$arch-deb.deb"
fi fi
install_pkgurl 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