summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp
index 4542e42..8c5f0ea 100644
--- a/noncore/unsupported/oipkg/package.cpp
+++ b/noncore/unsupported/oipkg/package.cpp
@@ -47,12 +47,13 @@ Package::Package( QString n, PackageManagerSettings *s )
47 { 47 {
48 init(s); 48 init(s);
49 if ( !QFile::exists( n ) ) 49 if ( !QFile::exists( n ) )
50 { 50 {
51 _name = QString( n ); 51 _name = QString( n );
52 }else{ 52 }else{
53 pvDebug(2,"remote file: "+n);
53 parseIpkgFile( n ); 54 parseIpkgFile( n );
54 _useFileName = true; 55 _useFileName = true;
55 _fileName = QString( n ); 56 _fileName = QString( n );
56 } 57 }
57} 58}
58 59
@@ -339,13 +340,14 @@ QString Package::dest()
339 return _dest!=""?_dest:settings->getDestinationName(); 340 return _dest!=""?_dest:settings->getDestinationName();
340 else return ""; 341 else return "";
341} 342}
342 343
343void Package::setDest( QString d ) 344void Package::setDest( QString d )
344{ 345{
345 _dest = d; 346 if ( d == "remote") _useFileName = true;
347 else _dest = d;
346} 348}
347 349
348void Package::setOn() 350void Package::setOn()
349{ 351{
350 _toProcess = true; 352 _toProcess = true;
351} 353}