Unknown YCP Module |
This module has an unstable interface. |
Imports
Global FunctionsLocal Functions |
Info:
File: modules/PackageLock.ycp
Package: yast2
Summary: Packages manipulation (system)
Authors: Martin Vidner
$Id$
local
AskPackageKit ()
->
boolean
Ask whether to quit PackageKit if it is running
- Return value:
-
true if PackageKit was asked to quit
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