On 20/12/16 12:15, Till Hofmann wrote:

I have a package that contains a subdirectory which is changed to a
symlink in the next release. When I upgrade, I get the following error:

Error: Transaction check error:
  file /usr/share/symlinktest/dir/subdir from install of
symlinktest-1-2.fc25.x86_64 conflicts with file from package
symlinktest-1-1.fc25.x86_64

Replacing a directory needs special lua scriptlet hackery:

https://fedoraproject.org/wiki/Packaging:Directory_Replacement

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to