[opensuse-packaging] Policy for scriptlets commands (absolute paths)
Does openSUSE define a policy for binaries in default PATH? Did not find anything here: https://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets I prefer commands without absolute paths. Much more readable. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thursday 2015-02-19 12:29, Marcos Felipe Rasia de Mello wrote:
Does openSUSE define a policy for binaries in default PATH?
Did not find anything here: https://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
I prefer commands without absolute paths. Much more readable.
RPM has: -14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
2015-02-19 11:49 GMT-02:00 Jan Engelhardt <jengelh@inai.de>:
On Thursday 2015-02-19 12:29, Marcos Felipe Rasia de Mello wrote:
Does openSUSE define a policy for binaries in default PATH?
Did not find anything here: https://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
I prefer commands without absolute paths. Much more readable.
RPM has:
-14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
I mean if any openSUSE policy defines if it is preferable write, for example, '/usr/sbin/usermod' or simply 'usermod'. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Jan Engelhardt
-
Marcos Felipe Rasia de Mello