summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp
index bfb48b3..4a09b40 100644
--- a/noncore/unsupported/oipkg/package.cpp
+++ b/noncore/unsupported/oipkg/package.cpp
@@ -129,13 +129,21 @@ QString Package::installName()
if (_useFileName) return _fileName;
else return _name;
}
bool Package::installed()
{
- if (_status.contains("installed")) return true;
+ if (_status.contains("installed"))
+ {
+ if (_status.contains("not-installed"))
+ {
+ _toProcess = true;
+ return false;
+ }
+ else return true;
+ }
else
if (_versions)
{
QDictIterator<Package> other( *_versions );
while ( other.current() )
{