mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix kernel subpackages install bug
This commit is contained in:
parent
6cea44ee95
commit
57a60f62a3
1 changed files with 2 additions and 2 deletions
|
@ -1396,8 +1396,8 @@ def install(name=None,
|
|||
break
|
||||
else:
|
||||
if pkgname is not None:
|
||||
if re.match('kernel(-.+)?', pkgname):
|
||||
# kernel and its subpackages support multiple
|
||||
if re.match('^kernel(|-devel)$', pkgname):
|
||||
# kernel and kernel-devel support multiple
|
||||
# installs as their paths do not conflict.
|
||||
# Performing a yum/dnf downgrade will be a
|
||||
# no-op so just do an install instead. It will
|
||||
|
|
Loading…
Add table
Reference in a new issue