Add eq in for apt

This commit is contained in:
Thomas S Hatch 2012-04-26 17:14:10 -06:00
parent 1527c3a251
commit 1aa7719ab2

View File

@ -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',