Commit 837c1be7 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: added refind (eterbug #17963)

parent 46360007
#!/bin/sh
PKGNAME=refind
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="An EFI boot manager utility"
URL="https://sourceforge.net/projects/refind"
TIPS="Run epm play refind=<version> to install some specific version"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
VERSION=$(eget -O- https://sourceforge.net/projects/refind/best_release.json | sed -e 's|.*refind-bin-\([^"]*\)\.zip.*|\1|')
fi
pkgtype="$(epm print info -p)"
case $pkgtype in
deb)
PKGURL="https://sourceforge.net/projects/refind/files/$VERSION/refind_$VERSION-1_amd64.deb/download"
;;
*)
PKGURL="https://sourceforge.net/projects/refind/files/$VERSION/refind-$VERSION-1.x86_64.rpm/download"
;;
esac
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