On 2012/9/6 Allan McRae <allan@xxxxxxxxxxxxx> wrote: > On 06/09/12 18:20, Heiko Baums wrote: > > Am Thu, 6 Sep 2012 10:06:57 +0200 > > schrieb Andreas Radke <andyrtr@xxxxxxxxxxxxx>: > > > >> Pacman will detect the symlinks and break before the install scriptlet > >> will be run. So this is not an option. > > > > Did you test it? > > > > I'm pretty sure it won't, since I tested this before in one of my AUR > > packages. Well, it was the removal of files in /lib due to the change > > from /lib to /usr/lib, but at least this has worked. > > > > Conflict checking is done before pre_install scripts are run. Those > files are not owned by any package so will produce a conflict. Perhaps a pre_conflict_checking() function should be added to pacman to take care of this kind of problems. Has this already been considered?