On Fri, Aug 08, 2008 at 07:12:05PM +0200, Jos Vos wrote: > Can someone shed a light on this? I'm afraid the actual remove > actions for foo-1-1 remove my symlink. The only thing I want to > do is replacing a directory with a symlink in an update of the > package. How should I do this? To answer my own question, at least this seems to work: %triggerpostun -- %{name} < %{version}-%{release} ln -snf bar /opt/foo Note that just "%triggerun" does not work, as this is run *before* the actual files of the old version are removed. Is this indeed the "recommended way"? -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list