mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46135 from rallytime/bp-46088
Back-port #46088 to 2017.7
This commit is contained in:
commit
0398ce0482
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