Re: dvd::rip can't find imagemagick because of conflicting script name
Jörn Reder <[email protected]> Sun, 22 Nov 2009 16:07:28 +0100
| Newsgroups | gmane.comp.video.dvdrip.user |
|---|---|
| Message-ID | <[email protected]> |
jagerhans wrote: > anyway, since the version test method is weak i'd suggest to mod the > code so that the program convert is looked for in standard locations, > first /usr/bin, /usr/local/bin and then if it's found elsewhere dvdrip > checks to see if it's binary, if i had to do that in bash i'd probably > do a crude $ file `which convert`| grep ELF || echo 1 . in what file of > the source tree the check takes place? thanks a lot for the help I don't like the idea of maintaining hardcoded paths in dvd::rip just to catch the (in my eyes) esoteric case of workarounding broken ImageMagick installations. I think it was broken, because convert was not part of your ImageMagick installation anymore. Every program using ImageMagick's convert binary couln't work on your system. So it's better to fix the installation than extending hundreds of apps ;) Regards, Jörn -- LINUX - Linux Is Not gnU linuX
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABEDAAYFAksJU7AACgkQ2hNi0Chc9HOHEACfVoetlyud+4Ne93p5aFZz7XWZ 0ZIAn1oaPw3ysVxHYqUvkglrVLUn/tXJ =7qCj -----END PGP SIGNATURE-----