RPM upgrade problem: howto replace a directory with a symlink?
tgl at redhat.com
Wed Aug 22 21:07:39 UTC 2007
Miroslav Lichvar <mlichvar at 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
More information about the fedora-devel-list