bsdmainutils should use update-alternatives for hd symlink
Bug #935891 reported by
pi-rho
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).
To post a comment you must log in.
updated patch for completeness