Mailinglist Archive: opensuse-factory (745 mails)

< Previous Next >
[opensuse-factory] /etc/lsb-release and Steam
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)?

Greetings,
Björn




--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >