Commit 4ff88c2b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play steam: don't use deb if package can be installed from the repo

parent e9f1ec67
......@@ -10,11 +10,11 @@ epm installed $REPOPKGNAME && PKGNAME=$REPOPKGNAME
. $(dirname $0)/common.sh
res=0
if ! epm install $REPOPKGNAME ; then
if epm status --installable $REPOPKGNAME ; then
epm install $REPOPKGNAME || exit
else
PKGURL="https://cdn.akamai.steamstatic.com/client/installer/steam.deb"
epm install $PKGURL
res=$?
epm install $PKGURL || exit
if [ "$(epm print info -s)" = "alt" ] ; then
# https://bugzilla.altlinux.org/46110
......@@ -25,4 +25,4 @@ fi
epm play i586-fix
exit $res
exit
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