On 2006-04-25T11:17:23, Alan Robertson <[EMAIL PROTECTED]> wrote:

> For the post-install or pre-uninstall type of actions, it seems to me 
> that the thing to do is to create a directory like 
> /usr/lib/heartbeat/pkgscripts and factor out the common actions into 
> that directory and then just invoke them in the makefile and the various 
> packaging schemes.
> 
> For things that are pre-install or post-uninstall, that won't work 
> (obviously).

Even the postinst or preunst stages might be rather distribution
specific. SUSE for example has a bunch of macros, and I'd have to audit
the stuff in those scripts anyway. And file removal is handled by the
package manager, not by some scripts.

Personally, I'm not sure I see the point; it feels like a
microoptimization.


-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business     -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to