summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.cpp
authortille <tille>2002-05-31 12:11:02 (UTC)
committer tille <tille>2002-05-31 12:11:02 (UTC)
commit40eac37ff82dd4499a95adb786eb063fd0b81584 (patch) (side-by-side diff)
treedbcfe08a966ed02575897a722ddaa05b2450d7c6 /noncore/unsupported/oipkg/package.cpp
parentb0c81bac3828ed8b5a5f03e1e3910c4722c6689a (diff)
downloadopie-40eac37ff82dd4499a95adb786eb063fd0b81584.zip
opie-40eac37ff82dd4499a95adb786eb063fd0b81584.tar.gz
opie-40eac37ff82dd4499a95adb786eb063fd0b81584.tar.bz2
parses "not-installed" from /usr/lib/ipkg/list
Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (show 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
@@ -132,7 +132,15 @@ QString Package::installName()
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)
{