Problem changing symlink to directory with %pretrans scriptlet

Bruno Wolff III bruno at wolff.to
Sat Dec 28 16:43:50 UTC 2013


On Sat, Dec 28, 2013 at 13:23:35 +0000,
   Richard Fearn <richardfearn at gmail.com> wrote:
>Hi all,
>
>I'm trying to change a symlink to a directory but it's not working.
>I've reduced the problem down to a simple test case.

https://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet
Notes that you need to use lua in pretrans scriptlets, not shell commands.

I haven't found an example for you to copy, but note there are still some 
cases where changing symlinks to directories or vise versa won't work 
with rpm (https://bugzilla.redhat.com/show_bug.cgi?id=975909).


More information about the devel mailing list