On 03/23/2011 12:47 AM, Sascha Manns wrote:
Hello Mates,
atm i'm updating the Packages in medical.
In one case a have a lot of messages like: freediams.x86_64: W: script-without-shebang /usr/share/freediams/doc/freediams/en/html/_export/xhtml/en/manuals/freediams/install_usb.xhtml
To solve that i've tried: for all in %{buildroot}%{_datadir}/%{name}/doc/%{name} `find -type f`; do chmod -x $all done
I use variations of this : # Remove executables from buildroot/_docdir}/name if test -z `find %{buildroot}%{_docdir}/%{name} -name *.py -perm 0755 -print0|xargs -0r grep -l '#!'`; \ then break; else chmod -f 0644 `find %{buildroot}%{_docdir}/%{name} -name *.py -perm 0755 -print0|xargs -0r grep -l '#!'`; \ fi Scripts without '#!' shouldn't have their executable bit set, this particular instance I've used it to remove the executable bit because executables aren’t allowed in %_docdir Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org