she-bang in non-executable scripts

Togan Muftuoglu
Wed, 03 Aug 2011 10:27:35 -0000

Hi,

I am currently in the process to pushing shorewall on openSUSE Factory
(devel branch of openSUSE), to make it officially available with next
openSUSE release main repository. During the process I have encountered
some issues and would appreciate if you can clarify them.


Is there any reason why you copy ifupdown scripts in the %post section
of shorewall-init.spec. Why not list them in the %files section?


The following files have the she-bang yet they are installed
non-executable. Is it Ok to remove the she-bang from them

/usr/share/shorewall/prog.header*
/usr/share/shorewall/lib.*
/usr/share/shorewall6/lib.*
/usr/share/shorewall-lite/lib.*
/usr/share/shorewall6-lite/lib.*
/etc/shorewall/scfilter
/etc/shorewall6/scfilter
/usr/share/shorewall/configfiles/scfilter
usr/share/shorewall6/configfiles/scfilter


Thanks

Togan Muftuoglu