Daniel Wyeth wrote:
[]
2) If anyone could explain how to avoid the warnings generated by fink validate relating to the InstallScript, PostInstScript and PreRmScript it would be most appreciated. Specifically I have used numerous loops which are only properly executed when the section in which they are contained is executed as a whole (using #! /bin/sh) and not line by line, otherwise the build fails with the error (for: unknown command or executable). However while specifying the interpreter makes the build happy, it causes "fink validate <infofile>" to complain about a "Useless use of explicit interpretter in <script>". I know that this is not a big deal, but it would be nice to see the words "package looks good!" instead.

Just a small remark to this point: The {Pre,Post}{Inst,Rm}Scripts already are always executed as a whole with a first line #!/bin/sh thrown in by fink. After you install the package, you can find the final form of these scripts in %p/var/lib/dpkg/info/.


--
Martin



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to