Fix for issue #5736. (#6061)

This commit is contained in:
Ganesh Viswanathan
2017-07-07 01:10:39 -05:00
committed by Andreas Rumpf
parent ee43fc82d5
commit 915ce2871f

View File

@@ -158,7 +158,7 @@ proc detectOsImpl(d: Distribution): bool =
of Distribution.ArchLinux:
result = "arch" in toLowerAscii(uname())
of Distribution.OpenSUSE:
result = "suse" in toLowerAscii(uname())
result = "suse" in toLowerAscii(uname()) or "suse" in toLowerAscii(release())
of Distribution.GoboLinux:
result = "-Gobo " in uname()
of Distribution.OpenMandriva: