summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/TODO3
-rw-r--r--noncore/unsupported/oipkg/package.cpp10
2 files changed, 11 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/TODO b/noncore/unsupported/oipkg/TODO
index b92cbb0..e7b017c 100644
--- a/noncore/unsupported/oipkg/TODO
+++ b/noncore/unsupported/oipkg/TODO
@@ -1,4 +1,5 @@
+* check for networt before installing from network
* Settings Class
* parse "to install" and "to remove" from status
* install local file dialog
* qcop
@@ -8,5 +9,5 @@
* create dest if it does not exist
* allow reinstalling
* different types of filters and searches
i.e. name, desc, files etc
-* display new list after update \ No newline at end of file
+* display new list after update
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
@@ -131,9 +131,17 @@ 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)
{
QDictIterator<Package> other( *_versions );