On Thu, 17 Nov 2011, Jerry Lundström wrote:

Subject: Re: [Opendnssec-user] scripts without she-bang
X-Spam-Flag: NO

On 2011-11-17 03.57, Paul Wouters <[email protected]> wrote:

Is it possible to add she-bang to the ruby scripts installed by
opendnssec?

Those scripts are included from ods-auditor and ods-kaspcheck which has a
correct shebang line, it would be wrong to add a line to all the scripts
since they should not be executed.

Maybe there is another extension to specify ruby include files or make the
packager not interpret them as executable scripts?

It seems that the usage of opendnssec, eg:

require '/usr/lib/packagename/foo.rb'

Should use file mode 0644 and a location of /usr/share/packagename/

At least, according to Fedora guidelines, which may or may not be the same as
the FSB/LSB

Paul
_______________________________________________
Opendnssec-user mailing list
[email protected]
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user

Reply via email to