Opened 14 years ago

Closed 14 years ago

#5315 closed enhancement (fixed)

installoptionalpackage -a could accept several packages add once

Reported by: colin Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/Development
Keywords: installoptionalpackage Cc:
Blocked By: #5248 Blocking:
Platform: All


At the moment the installoptionalpackage -a option accepts only one parameter.
By allowing it to accept multiple parameters it would be more convenient to add several packages to the system.
This possibly allows prevention of double installs, too, in the case that several packages have the same dependency.

Attachments (1)

installoptionalpackage-Improvements.patch (17.3 KB ) - added by mmadia 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mmadia, 14 years ago

Blocked By: 5248 added
Component: - GeneralApplications/Command Line Tools
Version: R1/alpha1R1/Development

will look into this & 5248

comment:2 by mmadia, 14 years ago

Owner: changed from mmadia to nobody
Status: newassigned

It was actually easier to implement both this and #5248 at once. The attached patch will correctly determine all of the dependencies for a particular package. It also allows the user to specify multiple packages to add :

installoptionalpackage -a "Git Subversion NetSurf"

This patch is large and fairly ugly. Would it be preferred for me to submit multiple smaller patches to be applied in succession?

comment:3 by colin, 14 years ago

Resolution: fixed
Status: assignedclosed

Applied in hrev35327. Thank you!

Note: See TracTickets for help on using tickets.