use /etc/os-release instead of /etc/SuSE-release

This commit is contained in:
Daniel Heule 2016-10-04 11:29:48 +02:00
parent 74652cec13
commit bee5593570

View file

@ -61,7 +61,11 @@ case "$($__explorer/os)" in
cat /etc/slackware-version
;;
suse)
cat /etc/SuSE-release
if [ -f /etc/os-release ]; then
cat /etc/os-release
else
cat /etc/SuSE-release
fi
;;
ubuntu)
lsb_release -sr