[Slackbuilds-users] "# Keep same perms on rc.INIT.new" in doinst.sh

Niels Horn niels.horn at gmail.com
Wed Dec 16 12:27:56 UTC 2009


In the doinst.sh I include this part from the template whenever I write a
SlackBuild that needs a rc.INIT script.
Maybe a silly question, but why is this routine not a function, like
config() ?
Now I have to change "INIT" to "<my_program>" eight times, while it could be
called with a variable.

Any special reason for not having a function, or simply because nobody has
done it yet?

(I should have studied philosophy, to seek the answer to "Why do I always
ask Why?")

Niels Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20091216/7f1fb61d/attachment.htm>


More information about the SlackBuilds-users mailing list