YaST2 Developers Documentation: yast2

yast2

modules/PackageAI.ycp
Packages manipulation (autoinstallation)
  • Martin Vidner
  • Michal Svec

This module has an unstable interface.

Includes

  • packages/common.ycp

Global Functions

global SetModified () -> void

Function sets internal variable, which indicates, that any settings were modified, to "true"

global GetModified () -> boolean

Functions which returns if the settings were modified

Return value:
settings were modified
global PackageInstalled (string package) -> boolean

Is a package installed? Checks only the package name in contrast to Installed() function.

Parameters:
package
Return value:
true if yes
global PackageAvailable (string package) -> boolean

Is a package available? Checks only package name, not list of provides.

Parameters:
package
Return value:
true if yes