Am 13.04.2018 um 21:40 schrieb David C. Rankin:
All,
This is an oddity that has broken some configuration scripts of mine. For the first time since 7.0 (Air), there is no /etc/SuSE-release. I don't know if this is intentional or not. There is an /etc/os-release present. A simple softlink will correct the problem.
While probably not common, the lack of /etc/SuSE-release has causes problem in my .bashrc where there are conditionals for configuration depending on the os installed., e.g.
if test -e "/etc/SuSE-release" then ... else if test -e "/etc/arch-release" then ...
I don't know the reason it's not included, maybe it's due to the Beta status, but it may be something to consider restoring so that others aren't caught by surprise. I can just symlink it, or parse the output of os-release, but providing the link would continue two-decades of consistency.
That's most likely intentional, SLE15 also does not have this file anymore. /etc/os-release has been the way to go for years now, it's cross-distro and you should really move/change your scripts now at the very latest. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org