On Wed, Jan 17, 2018 at 5:06 PM, Bjoern Voigt <bjoernv@arcor.de> wrote:
Steam does not detect openSUSE Tumbleweed, at least not my installation. The distribution detection code (installed during first run of /usr/bin/steam from steam-1.0.0.54-5.1.x86_64 from TW) can be found here:
/home/myusername/.local/share/Steam/steam.sh:
function detect_distro() { if [ -f /etc/lsb-release ]; then (. /etc/lsb-release; echo $DISTRIB_ID | tr '[A-Z]' '[a-z]') elif [ -f /etc/os-release ]; then (. /etc/os-release; echo $ID | tr '[A-Z]' '[a-z]') elif [ -f /etc/debian_version ]; then echo "debian" else # Generic fallback uname -s fi }
But /etc/lsb-release contains only LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
$DISTRIB_ID is undefined.
My questions:
1. Why /etc/lsb-release does not contain the usual information (like DISTRIB_ID, DISTRIB_RELEASE, DISTRIB_CODENAME, DISTRIB_DESCRIPTION)? 2. Which script should update /etc/lsb-release? 3. Does Steam work on TW (more or less)?
To begin with, that file isn't supposed to exist. Moreover, there is no specification for how that file is supposed to look. I'm surprised SUSE's lsb package even includes that file, as Red Hat/Fedora's does not. Steam works on Tumbleweed just fine if you reorder it to check for os-release first. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org