Merge pull request #485 from dheule/suse_os_version_explorer

use /etc/os-release instead of /etc/SuSE-release
This commit is contained in:
Darko Poljak 2016-10-09 14:20:04 +02:00 committed by GitHub
commit e349d10ed7

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