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
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
global
Connect (boolean show_continue_button)
->
map<string,any>
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.
- Parameters:
-
show_continue_button show option to continue without access
- Return value:
-
with lock status and user reaction