Commit 35bf691a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play steam: add install Steam from the repo

parent 255b82b9
......@@ -2,8 +2,21 @@
PKGNAME=steam-launcher
SUPPORTEDARCHES="x86_64"
DESCRIPTION=''
DESCRIPTION='Steam Launcher (from the repository if the package is there, or from the official site)'
[ "$(epm print info -s)" = "alt" ] && REPOPKGNAME=i586-steam || REPOPKGNAME=steam
epm installed $REPOPKGNAME && PKGNAME=$REPOPKGNAME
. $(dirname $0)/common.sh
epm install "https://cdn.akamai.steamstatic.com/client/installer/steam.deb"
res=0
if ! epm install $REPOPKGNAME ; then
PKGURL="https://cdn.akamai.steamstatic.com/client/installer/steam.deb"
epm install $PKGURL
res=$?
fi
epm play i586-fix
exit $res
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