
Jan Engelhardt wrote:
On Sunday 2012-11-25 10:14, Per Jessen wrote:
Andrey Borzenkov wrote:
DKMS currently is using /etc/SuSEconfig to detect whether it is running on SUSE. As I understand SuSEconfig is scheduled to be removed entirely. What is the proper way to detect distribution? I would use /etc/SuSE-release, but may be there were reasons to use SuSEconfig in the first place.
I would use /etc/SuSE-release, there are plenty of third-party scripts using that.
/etc/os-release
Haha, yes, I guess both of those then :-) older systems won't have /etc/os-release. -- Per Jessen, Zürich (12.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org