[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?



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]