parent
ee43fc82d5
commit
915ce2871f
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ proc detectOsImpl(d: Distribution): bool =
|
||||||
of Distribution.ArchLinux:
|
of Distribution.ArchLinux:
|
||||||
result = "arch" in toLowerAscii(uname())
|
result = "arch" in toLowerAscii(uname())
|
||||||
of Distribution.OpenSUSE:
|
of Distribution.OpenSUSE:
|
||||||
result = "suse" in toLowerAscii(uname())
|
result = "suse" in toLowerAscii(uname()) or "suse" in toLowerAscii(release())
|
||||||
of Distribution.GoboLinux:
|
of Distribution.GoboLinux:
|
||||||
result = "-Gobo " in uname()
|
result = "-Gobo " in uname()
|
||||||
of Distribution.OpenMandriva:
|
of Distribution.OpenMandriva:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue