author | drw <drw> | 2004-01-24 01:30:42 (UTC) |
---|---|---|
committer | drw <drw> | 2004-01-24 01:30:42 (UTC) |
commit | d542ba6a426f9868d521dbd9eb502184086535fc (patch) (unidiff) | |
tree | 6c975a8d20949d10dc48f2f372b836032988dcbd /noncore/settings/packagemanager/oipkg.cpp | |
parent | 77ad4fd70864e36745dbee587ca959a2e56998a6 (diff) | |
download | opie-d542ba6a426f9868d521dbd9eb502184086535fc.zip opie-d542ba6a426f9868d521dbd9eb502184086535fc.tar.gz opie-d542ba6a426f9868d521dbd9eb502184086535fc.tar.bz2 |
Added download packages (requires current version of libipkg) and code to have Opie update links so apps will display properly in Launcher after adding/removing
Diffstat (limited to 'noncore/settings/packagemanager/oipkg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/oipkg.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp index eeb0131..ed9ea10 100644 --- a/noncore/settings/packagemanager/oipkg.cpp +++ b/noncore/settings/packagemanager/oipkg.cpp | |||
@@ -324,14 +324,19 @@ bool OIpkg::executeCommand( OPackage::Command command, QStringList *parameters, | |||
324 | for ( QStringList::Iterator it = parameters->begin(); it != parameters->end(); ++it ) | 324 | for ( QStringList::Iterator it = parameters->begin(); it != parameters->end(); ++it ) |
325 | { | 325 | { |
326 | ipkg_packages_remove( &m_ipkgArgs, (*it), true ); | 326 | ipkg_packages_remove( &m_ipkgArgs, (*it), true ); |
327 | } | 327 | } |
328 | }; | 328 | }; |
329 | break; | 329 | break; |
330 | //case OPackage::Download : ; | 330 | case OPackage::Download : { |
331 | // break; | 331 | for ( QStringList::Iterator it = parameters->begin(); it != parameters->end(); ++it ) |
332 | { | ||
333 | ipkg_packages_download( &m_ipkgArgs, (*it) ); | ||
334 | } | ||
335 | }; | ||
336 | break; | ||
332 | default : break; | 337 | default : break; |
333 | }; | 338 | }; |
334 | 339 | ||
335 | return true; | 340 | return true; |
336 | } | 341 | } |
337 | 342 | ||