At 02:16 PM 5/29/2001 -0500, Ian Bicking wrote:
>The webkit rc script includes /etc/rc.d/init.d/functions.  My Debian
>system doesn't have such a file.  It seems like the only function used
>is "success".  If that definition was inlined, it would make it more
>portable.
>
>But otherwise it works good.

I'd prefer to do something like:

if debian():
         def success():
                 foobar()
else:
         source functions


The idea being that if a distro or sys admin customizes the 'functions' 
file, then WebKit behaves like a good citizen.

However, I'm bash-illiterate and I don't know how to detect Debian. Ian, 
would you like to patch and submit?


-Chuck


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to