YaST2 Developers Documentation: yast2

yast2

modules/PackageLock.ycp
Packages manipulation (system)

This module has an unstable interface.

This should be used everywhere before Pkg is first used. #160319

Imports

  • Report

Global Functions

global Check () -> boolean

Tries to acquire the packager (zypp) lock. Reports an error if another process has the lock already. Will only report once even if called multiple times.

Return value:
true if we can continue