#!/bin/sh # TODO: common place fatal() { echo "FATAL: $*" >&2 exit 1 } PKGNAME=steam-launcher if [ "$1" = "--remove" ] ; then epm remove $PKGNAME exit fi [ "$1" != "--run" ] && exit #echo "Steam for Linux from the official site" && exit [ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1 epm install "https://cdn.akamai.steamstatic.com/client/installer/steam.deb"