> > Well how will you call it if it's in the package?
> 
> It will be called in the %preun phase (before removing the files during
> the un-install pahse)

OK cool. Does that affect upgrades? Or do you have some way of specifying 
that (like dpkg's "purge" action)?

> > For the debian packages I just replicated the needed parts in the postrm 
> > script.
> 
> Why ? Can't you just call the script ? It's much more interesting to not
> duplicate. I'm sure Debian has a similar featur no ?

Yes, I suppose I could do it in prerm only on "purge". It's mostly where it 
is right now because the scripts were being written at the same time as 
fo-cleanold.

Because of the way the debs are split up I have each deb remove it's own 
stuff (take a look at debian/*.postrm in SVN).

-- 
Matt Taggart
[email protected]


_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to