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