diff options
author | Julian Andres Klode <jak@debian.org> | 2011-04-21 12:18:05 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2011-04-21 12:18:05 +0200 |
commit | 884cb8a574144ce47564911b97b62a269f82481e (patch) | |
tree | 6fdd57eab97d190e6e34df44ed429db7406a18c2 /apt-pkg/depcache.cc | |
parent | f37e6374bef41b0ce45e783fab051691c0fc9efa (diff) |
Make purge work again for config-files (LP: #244598) (Closes: #150831)
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 9dad7e240..bef977532 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -550,7 +550,7 @@ void pkgDepCache::AddStates(const PkgIterator &Pkg,int Add) if (Pkg->CurrentVer == 0) { if (State.Mode == ModeDelete && - (State.iFlags | Purge) == Purge && Pkg.Purge() == false) + (State.iFlags & Purge) == Purge && Pkg.Purge() == false) iDelCount += Add; if (State.Mode == ModeInstall) |