Commit f263881e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play opera: fix URL constructing

parent cd8db06c
......@@ -10,13 +10,15 @@ DESCRIPTION="Opera browser from the official site"
arch="amd64"
PKGNAME="${PKGNAME/-/_}"
# will use libffmpeg.so (via config added in repack)
epm install --skip-installed ffmpeg-plugin-browser || epm install --skip-installed chromium-codecs-ffmpeg-extra || epm play chromium-codecs-ffmpeg-extra
if [ "$(epm print info -p)" = "rpm" ] ; then
# they put all branch here (rpm only): https://rpm.opera.com/rpm/
[ "$(epm print info -s)" = "alt" ] && repack='--repack' || repack=''
PKGURL="https://rpm.opera.com/rpm/opera_$BRANCH-$VERSION-linux-release-x64-signed.rpm"
PKGURL="https://rpm.opera.com/rpm/$PKGNAME-$VERSION-linux-release-x64-signed.rpm"
epm install $repack $PKGURL
exit
fi
......
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