mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Add eq in for apt
This commit is contained in:
parent
1527c3a251
commit
1aa7719ab2
@ -140,6 +140,8 @@ def install(pkg, refresh=False, repo='', skip_verify=False,
|
||||
|
||||
if version:
|
||||
pkg = "{0}={1}".format(pkg, version)
|
||||
elif 'eq' in kwargs:
|
||||
pkg = "{0}={1}".format(pkg, kwargs['eq'])
|
||||
|
||||
cmd = 'apt-get -q -y {confold}{verify}{target} install {pkg}'.format(
|
||||
confold=' -o DPkg::Options::=--force-confold',
|
||||
|
Loading…
Reference in New Issue
Block a user