[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM upgrade problem: howto replace a directory with a symlink?
- From: Tom Lane <tgl redhat com>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Re: RPM upgrade problem: howto replace a directory with a symlink?
- Date: Wed, 22 Aug 2007 17:07:39 -0400
Miroslav Lichvar <mlichvar redhat com> writes:
> I think rpm will just remove the files in /usr/share/zoneinfo as the
> %post script will be executed before the files of the old package are
> removed. A %posttrans scriptlet could be better.
Yup, found that out the hard way.
> Making the symlink as /usr/share/pgsql/zoneinfo and changing all paths
> in postgresql accordingly is not an option?
After much fooling about, I've decided that this is the only safe way.
It turns out to be only a one-line patch...
regards, tom lane
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]