YaST2 Developers Documentation: yast2

yast2

modules/Distro.ycp
Distinguish between distributions that can run YaST
  • Martin Vidner

This module has an unstable interface.

Global Functions

Local 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, ...