yast2 |
include/package/common.ycp |
Packages manipulation (common routines) | |
|
|
This module has an unstable interface. |
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:
-
true if yes (nil = an error occurred)
global
AvailableAny (list<string> packages)
->
boolean
Is any of these packages available?
- Parameters:
-
packages list of packages
- Return value:
-
true if yes (nil = an error occurred)
global
InstalledAll (list<string> packages)
->
boolean
Are all of these packages installed?
- Parameters:
-
packages list of packages
- Return value:
-
true if yes
global
InstalledAny (list<string> packages)
->
boolean
Is any of these packages installed?
- Parameters:
-
packages list of packages
- Return value:
-
true if yes
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:
-
true on success
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:
-
True on success
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:
-
True on success
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:
-
True on success
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:
-
True on success
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