On vendredi, 13 avril 2018 21.40:03 h CEST David C. Rankin wrote:
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.
Perhaps using the right tool would help too lsb_release -si -- Bruno Friedmann irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org