sw_single.ycp |
|
This module has an unstable interface. |
Note: sw_single accepts a map parameter: $[ "dialog_type" : symbol,
"repo_mgmt" : boolean ]
"dialog_type" can be `patternSelector, `searchMode, `summaryMode
"repo_mgmt" enables "Repositories" -> "Repository Manager..." menu option
Imports
Local Functions |
local
VersionALtB (string a_version, string b_version)
->
boolean
Function checks two versions of installed rpm and decides whether the second one is newer than the first one. This function ignores non-numerical values in versions. Version and Release parts are merged! FIXME make a binding to librpm.
- Parameters:
-
a_version b_version
- Return value:
-
true if the second one is newer than the first one
local
CanBeUpdated (string package)
->
boolean
Check if there is an uninstalled package of the same name with a higher version. Otherwise we would forcefully reinstall it. #222757#c9
- Parameters:
-
package