From cccfb88edd8dd82348ff89f96a0b26ac815b483c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 25 Apr 2007 16:17:01 +0200 Subject: * python/apt_pkgmodule.cc: - added pkgCache::State::PkgCurrentState enums --- python/apt_pkgmodule.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python') diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index 24d876af..627eaced 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -502,6 +502,12 @@ extern "C" void initapt_pkg() AddInt(Dict,"PriOptional",pkgCache::State::Optional); AddInt(Dict,"PriExtra",pkgCache::State::Extra); + AddInt(Dict,"CurStateNotInstalled",pkgCache::State::NotInstalled); + AddInt(Dict,"CurStateUnPacked",pkgCache::State::UnPacked); + AddInt(Dict,"CurStateHalfConfigured",pkgCache::State::HalfConfigured); + AddInt(Dict,"CurStateHalfInstalled",pkgCache::State::HalfInstalled); + AddInt(Dict,"CurStateConfigFiles",pkgCache::State::ConfigFiles); + AddInt(Dict,"CurStateInstalled",pkgCache::State::Installed); } /*}}}*/ -- cgit v1.2.3