mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Use target instead of version_num
This commit is contained in:
parent
819007cd00
commit
2af38e5564
@ -1428,7 +1428,7 @@ def remove(name=None, pkgs=None, version=None, **kwargs):
|
||||
)
|
||||
|
||||
#Compute msiexec string
|
||||
use_msiexec, msiexec = _get_msiexec(pkginfo[version_num].get('msiexec', False))
|
||||
use_msiexec, msiexec = _get_msiexec(pkginfo[target].get('msiexec', False))
|
||||
|
||||
# Uninstall the software
|
||||
# Check Use Scheduler Option
|
||||
|
Loading…
Reference in New Issue
Block a user