YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Includes

  • packages/common.ycp

Global Functions

Info:

File: modules/PackageAI.ycp Package: yast2 Summary: Packages manipulation (autoinstallation) Authors: Martin Vidner Michal Svec Flags: Stable

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