yast2 |
modules/Distro.ycp |
Distinguish between distributions that can run YaST | |
|
|
This module has an unstable interface. |
Global FunctionsLocal Variables |
local
_distro
->
string
Cache
global
suse ()
->
boolean
Is it SUSE based? openSUSE, SLES, SLED, ...
global
fedora ()
->
boolean
Is it Fedora based? RHEL, Oracle, ...
global
debian ()
->
boolean
Is it Debian based? Ubuntu, ...