bsdmainutils should use update-alternatives for hd symlink

Bug #935891 reported by pi-rho
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bsdmainutils (Ubuntu)
New
Undecided
Unassigned

Bug Description

bsdmainutils uses update-alternatives for its write and from utilities, but uses a symbolic link (hd -> hexdump). It would be better to use update-alternatives to manage this symbolic link.

I'm attaching a patch that would add the appropriate update-alternatives command to debian/postinst. The patch also adds commands to remove usr/bin/hd and rename the hd man page to bsd-hd (the update-alternative command slaves bsd-hd.1.gz -> hd.1.gz if it is selected).

Tags: patch
Revision history for this message
pi-rho (pi-rho) wrote :

updated patch for completeness

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "use update-alternatives to manage /usr/bin/hd" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.