At Tue, 09 Apr 2013 02:31:13 -0300, Cristian Rodríguez wrote:
On 04/09/2013 12:38 AM, Andrey Borzenkov wrote:
Apparently on openSUSE /etc/bash.bashrc sources only completion scripts with .sh suffix. It is fine but some packages install them without suffix (I wondered why completions were missing). Does it warrant rpmlint check?
On a related note, some completions use "have" function to check for command existence. Seems it was introduced in Debian. Would it make sense to add this to /etc/bash.bashrc to avoid need to patch every program? This comes unnoticed currently because two completions on my system that use "have" also do not have .sh suffix :)
Looks like a bug..not a bug in packages but a bug in $component that is deciding to parse only files with .sh suffix.
Including only files with the known good extension is a saner way. Think of backup files, *.rpmorig or whatever. Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org