Add wildcard support to Zypper

This commit is contained in:
Bo Maryniuk 2017-05-24 11:47:13 +02:00
parent 0bf0950158
commit 7fc33a3f82

View File

@ -1069,7 +1069,7 @@ def install(name=None,
if pkg_params is None or len(pkg_params) == 0: if pkg_params is None or len(pkg_params) == 0:
return {} return {}
version_num = version version_num = Wildcard(__zypper__)(name, version)
if version_num: if version_num:
if pkgs is None and sources is None: if pkgs is None and sources is None:
# Allow "version" to work for single package target # Allow "version" to work for single package target