+2012-12-11 Keith Marshall <keithmarshall@users.sourceforge.net>
+
+ Do not preserve unnecessary download requests.
+
+ * src/pkginet.cpp (pkgActionItem::DownloadArchiveFiles):
+ [(flags & ACTION_INSTALL) != ACTION_INSTALL]: Actions having no
+ "install" effect do not require a download; cancel any associated
+ download request.
+
2012-12-10 Keith Marshall <keithmarshall@users.sourceforge.net>
Implement GUI bindings for package download agent.
*/
current->DownloadSingleArchive( package_name, pkgArchivePath() );
}
+ else
+ /* The current action has no associated "install" requirement,
+ * so neither is there any need to request a "download".
+ */
+ current->flags &= ~(ACTION_DOWNLOAD);
+
/* Flush out any diagnostics relating to the current package, then
* repeat the download action, for any additional packages specified
* in the current "actions" list.