Re: [pryzbyj: maint scripts]
On Fri, Aug 06, 2004 at 09:14:49PM -0400, Justin Pryzby wrote:
> As per policy, my unofficial package of IRAF now includes a perl script
> update-extern.pkg.pl which is installed in /usr/bin/. It will be used
> by external IRAF packages, each of which need to update extern.pkg. Of
> course, each also depends on IRAF. If memory serves, the script
> shouldn't have the .pl extension; can someone remind me why? (I like it
> because then vim color-highlights it).
Because the user of your script doesn't care what language it's written
in. It's just a program. The OS doesn't care either, because it looks
for "#!/usr/bin/perl".
And BTW, VIM doesn't care either; it can work out that it's perl without
the .pl extension.
Finally, should your script be in /usr/sbin instead if it's only going to be
called by package maintainer scripts? (Perhaps even /usr/lib?).
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
Reply to: