summaryrefslogtreecommitdiff
authortille <tille>2002-05-01 22:01:28 (UTC)
committer tille <tille>2002-05-01 22:01:28 (UTC)
commit82ff405e40d4aa6cad8b5583f9d7e5b89a78f261 (patch) (unidiff)
treeee246a1d25ec191538963597c15e7eb88897309a
parentda12e60078563ef6e10ddcc1edeb931f765b8b6d (diff)
downloadopie-82ff405e40d4aa6cad8b5583f9d7e5b89a78f261.zip
opie-82ff405e40d4aa6cad8b5583f9d7e5b89a78f261.tar.gz
opie-82ff405e40d4aa6cad8b5583f9d7e5b89a78f261.tar.bz2
fixed: remove only from std dest
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/TODO3
-rw-r--r--noncore/unsupported/oipkg/opie-oipkg.control2
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/noncore/unsupported/oipkg/TODO b/noncore/unsupported/oipkg/TODO
index 9d9a650..1aa9e6b 100644
--- a/noncore/unsupported/oipkg/TODO
+++ b/noncore/unsupported/oipkg/TODO
@@ -1,13 +1,14 @@
1* Settings Class 1* Settings Class
2* tr() ;) 2* tr() ;)
3* Dialog to display ipkg output live 3* Dialog to display ipkg output live
4* parse "to install" and "to remove" from status 4* parse "to install" and "to remove" from status
5* install local file dialog 5* install local file dialog
6* qcop 6* qcop
7* error handling 7* error handling
8* manage links 8* manage links
9* dependency checking 9* dependency checking
10* create dest if it does not exist 10* create dest if it does not exist
11* allow reinstalling 11* allow reinstalling
12* different types of filters and searches 12* different types of filters and searches
13 i.e. name, desc, files etc \ No newline at end of file 13 i.e. name, desc, files etc
14* get packages from doclnk \ No newline at end of file
diff --git a/noncore/unsupported/oipkg/opie-oipkg.control b/noncore/unsupported/oipkg/opie-oipkg.control
index 2d2b63c..1cff44e 100644
--- a/noncore/unsupported/oipkg/opie-oipkg.control
+++ b/noncore/unsupported/oipkg/opie-oipkg.control
@@ -1,9 +1,9 @@
1Files: bin/oipkg apps/Settings/oipkg.desktop pics/oipkg/ 1Files: bin/oipkg apps/Settings/oipkg.desktop pics/oipkg/*
2Priority: optional 2Priority: optional
3Section: opie/settings 3Section: opie/settings
4Maintainer: Patrick S. Vogt <tille@almana.ch> 4Maintainer: Patrick S. Vogt <tille@almana.ch>
5Architecture: arm 5Architecture: arm
6Version: $QPE_VERSION-$SUB_VERSION 6Version: $QPE_VERSION-$SUB_VERSION
7Depends: opie-base ($QPE_VERSION), ipkg (>0.9) 7Depends: opie-base ($QPE_VERSION), ipkg (>0.9)
8Description: Opie Projects advanced gui ipkg installer 8Description: Opie Projects advanced gui ipkg installer
9 A GUI front-end to ipkg for the Opie environment. 9 A GUI front-end to ipkg for the Opie environment.
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp
index 1798c80..2559a51 100644
--- a/noncore/unsupported/oipkg/pmipkg.cpp
+++ b/noncore/unsupported/oipkg/pmipkg.cpp
@@ -289,49 +289,49 @@ void PmIpkg::startDialog()
289 installDialog->showMaximized(); 289 installDialog->showMaximized();
290 if ( installDialog->exec() ) doIt(); 290 if ( installDialog->exec() ) doIt();
291 installDialog->close(); 291 installDialog->close();
292 out(tr("<b>All done.</b>")); 292 out(tr("<b>All done.</b>"));
293} 293}
294 294
295void PmIpkg::doIt() 295void PmIpkg::doIt()
296{ 296{
297 show( true ); 297 show( true );
298 remove(); 298 remove();
299 install(); 299 install();
300} 300}
301 301
302 302
303void PmIpkg::remove() 303void PmIpkg::remove()
304{ 304{
305 if ( to_remove.count() == 0 ) return; 305 if ( to_remove.count() == 0 ) return;
306 306
307 out("<b>"+tr("Removing")+"<br>"+tr("please wait")+"</b><br><hr>"); 307 out("<b>"+tr("Removing")+"<br>"+tr("please wait")+"</b><br><hr>");
308 308
309 QStringList *fileList; 309 QStringList *fileList;
310 for (Package *it=to_remove.first(); it != 0; it=to_remove.next() ) 310 for (Package *it=to_remove.first(); it != 0; it=to_remove.next() )
311 { 311 {
312 if ( it->link() )fileList = getList( it->name(), it->dest() ); 312 if ( it->link() )fileList = getList( it->name(), it->dest() );
313 if ( runIpkg("remove " + it->name()) == 0) 313 if ( runIpkg("remove " + it->name(), it->dest() ) == 0)
314 { 314 {
315 runwindow->progress->setProgress( 1 + runwindow->progress->progress() ); 315 runwindow->progress->setProgress( 1 + runwindow->progress->progress() );
316 linkOpp = removeLink; 316 linkOpp = removeLink;
317 if ( it->link() ) 317 if ( it->link() )
318 { 318 {
319 out( "<br>removing links<br>" ); 319 out( "<br>removing links<br>" );
320 out( "for package "+it->name()+" in "+it->dest()+"<br>" ); 320 out( "for package "+it->name()+" in "+it->dest()+"<br>" );
321 processFileList( fileList, it->dest() ); 321 processFileList( fileList, it->dest() );
322 } 322 }
323 it->processed(); 323 it->processed();
324 324
325 out("<br><hr>"); 325 out("<br><hr>");
326 }else{ 326 }else{
327 out("<b>"+tr("Error while removing")+"</b><hr>"+it->name()); 327 out("<b>"+tr("Error while removing")+"</b><hr>"+it->name());
328 } 328 }
329 if ( it->link() )delete fileList; 329 if ( it->link() )delete fileList;
330 } 330 }
331 out("<br>"); 331 out("<br>");
332} 332}
333 333
334 334
335void PmIpkg::install() 335void PmIpkg::install()
336{ 336{
337 if ( to_install.count() == 0 ) return; 337 if ( to_install.count() == 0 ) return;