Am Montag 05 Oktober 2009 schrieb Pascal Bleser:
Detecting whether it's a script or a compiled binary is somewhat more difficult, because you often end up with packages that contain both. But if it doesn't require glibc and instead requires some shebang, then, yes, it is a pure script. Which shebang is required could then be used to detect whether it's python, bash, perl, ruby, or whatnot.
Which reminds me, that there's a lot of confusion in our packages, whenever I look into shebang arguments. While rpmlint warns about non executable shebang scripts, it doesn't check, if they're valid. Sure, creating that parser is going to get tough, though... Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org