
functions
files
intro
|
|
yast2 |
include/package/common.ycp |
| Packages manipulation (common routines) |
|
|
|
The documentation is maintained at
.../docs/index.html.
Imports
Global Functions
Local Functions
|
|
|
|
global AvailableAll (list<string> packages) -> boolean
|
|
Are all of these packages available?
- Parameters:
|
packages |
list of packages |
- Return value:
|
global AvailableAny (list<string> packages) -> boolean
|
|
Is any of these packages available?
- Parameters:
|
packages |
list of packages |
- Return value:
|
global InstalledAll (list<string> packages) -> boolean
|
|
Are all of these packages installed?
- Parameters:
|
packages |
list of packages |
- Return value:
|
global InstalledAny (list<string> packages) -> boolean
|
|
Is any of these packages installed?
- Parameters:
|
packages |
list of packages |
- Return value:
|
local PackageDialog (list<string> packages, boolean install, string message) -> boolean
|
|
Main package installatio|removal dialog
- Parameters:
|
packages |
list of packages |
|
install |
true if install, false if remove |
|
message |
optional installation|removal text (nil -> standard will be used) |
- Return value:
|
global InstallMsg (string package, string message) -> boolean
|
|
Install a package with a custom text message
- Parameters:
|
package |
to be installed |
|
message |
custom text message |
- Return value:
|
global InstallAllMsg (list<string> packages, string message) -> boolean
|
|
Install list of packages with a custom text message
- Parameters:
|
packages |
The list packages to be installed |
|
message |
custom text message |
- Return value:
|
global RemoveMsg (string package, string message) -> boolean
|
|
Remove a package with a custom text message
- Parameters:
|
package |
package to be removed |
|
message |
custom text message |
- Return value:
|
global RemoveAllMsg (list<string> packages, string message) -> boolean
|
|
Remove a list of packages with a custom text message
- Parameters:
|
packages |
The list of packages to be removed |
|
message |
custom text message |
- Return value:
|
global RunSUSEconfig () -> void
|
|
Run SUSEconfig, create new wizard dialog before it,
close after it is finished
|
global LastOperationCanceled () -> boolean
|
|
Return result of the last operation
Use immediately after calling any Package*:: function
- Return value:
|
|
true if it last operation was canceled |
|