Lars Marowsky-Bree wrote:
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.
Not all file removal is handled. Certain files don't get removed
because the package manager doesn't know about them (they get created at
run time, for example).
But, if you think it's a bad idea, then that's good input.
It wasn't like *I* was planning on doing it ;-)
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/