diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2008-06-22 20:01:56 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2008-06-22 20:01:56 +0000 |
commit | f26f2426d1b73b5bfddaef7b1700201876b64151 (patch) | |
tree | dfeb1e4cb75ad55ef1d9e0ea1b854a593538d591 /src/lib/Client/Tools/APT.py | |
parent | a930a955564836408f4c430053cb88b2bad12729 (diff) | |
download | bcfg2-f26f2426d1b73b5bfddaef7b1700201876b64151.tar.gz bcfg2-f26f2426d1b73b5bfddaef7b1700201876b64151.tar.bz2 bcfg2-f26f2426d1b73b5bfddaef7b1700201876b64151.zip |
Change to use correct syntax for DPkg options, as gleaned from a google
search.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4705 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/APT.py')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index 05d24d862..9e8dd9395 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -18,7 +18,7 @@ class APT(Bcfg2.Client.Tools.PkgTool): __handles__ = [('Package', 'deb')] __req__ = {'Package': ['name', 'version']} pkgtype = 'deb' - pkgtool = ('apt-get --reinstall -q=2 -o DPkg::Options="--force-overwrite --force-confold" --force-yes -y install %s', + pkgtool = ('apt-get -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-confold --reinstall -q=2 --force-yes -y install %s', ('%s=%s', ['name', 'version'])) svcre = re.compile("/etc/.*/[SK]\d\d(?P<name>\S+)") |