summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistremote.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistremote.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistremote.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/packagelistremote.cpp b/noncore/unsupported/oipkg/packagelistremote.cpp
index ee54fca..e37f256 100644
--- a/noncore/unsupported/oipkg/packagelistremote.cpp
+++ b/noncore/unsupported/oipkg/packagelistremote.cpp
@@ -26,12 +26,13 @@ void PackageListRemote::query(QString s)
26 searchString = s; 26 searchString = s;
27} 27}
28 28
29void PackageListRemote::update() 29void PackageListRemote::update()
30{ 30{
31 pvDebug(2,"PackageListRemote::update"); 31 pvDebug(2,"PackageListRemote::update");
32 if (searchString.isEmpty()) return;
32 int r=0; 33 int r=0;
33 QString cmd = "wget"; 34 QString cmd = "wget";
34 QString redirect = "/tmp/oipkg.query"; 35 QString redirect = "/tmp/oipkg.query";
35 36
36 // use file for output 37 // use file for output
37 cmd += " --output-document="+redirect; 38 cmd += " --output-document="+redirect;