From 40eac37ff82dd4499a95adb786eb063fd0b81584 Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 31 May 2002 12:11:02 +0000 Subject: parses "not-installed" from /usr/lib/ipkg/list --- 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,3 +1,4 @@ +* check for networt before installing from network * Settings Class * parse "to install" and "to remove" from status * install local file dialog @@ -9,4 +10,4 @@ * 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 @@ -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) { -- cgit v0.9.0.2