[CentOS] rpm spec question
Bent Terp
bent at terp.se
Mon Nov 3 10:57:36 UTC 2008
On Mon, Nov 3, 2008 at 10:38 AM, Tom Brown <tom at ng23.net> wrote:
> specify this in the %postun. Is there a way to tell rpm to NOT remove
> files/dir's that it creates unless i request it?
don't list the dir in the files section, use /* instead to point out
the files in the dir
If you list the dir itself, it will be owned by the rpm and removed
together with it.
BR Bent
More information about the CentOS
mailing list