Re: Intention to re-write /usr/sbin/install-info
On Mon, 1 Sep 1997, Mark Baker wrote:
> As I understand it theirs came first, but was very limited and not
> suitable for our needs. I don't know why we didn't make the interface
> backwards compatible though.
That would make things easier wouldn't it.
> That doesn't work, because install-info is called from the prerm scripts
> of many packages, and you can't expect all our users to upgrade within a
And I'm guessing these won't work with the GNU version. Then how about
this, make a smarter script that checks for version specific flags and
calls the appropriate version. A quick grep shows that they are mostly
using --quiet and --remove, so when these flags are seen (and I guess
some others, I don't have gnu's install-info to see the differences), use
/usr/sbin/dinstall-info, otherwise, use /usr/bin/install-info. (Remember
the script is at /usr/sbin/install-info.)
This does feel like a hack though, so a better idea is more than welcome.
Thanks for pointing out my flaw Mark.
Script is below my sig. Comments?
P.S. I don't know the specific differences between the two, so the to of
the gnu install-info man page would be helpful.
Brandon Mitchell E-mail: email@example.com
PGP: finger -l firstname.lastname@example.org
"We all know Linux is great...it does infinite loops in 5 seconds."
# By Brandon Mitchell
# Note, not actually tested
for i in $*; do
case $i in
--remove) DEBIAN="YES"; break;;
# other debian specific options
if [ $DEBIAN = "YES" ]; then
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .