Hi, here's a patch which is the other side of the pkg_postinst() check in quake1-demodata (bug #137402), to ensure that the demo symlink does not conflict with the CD data.
Created attachment 89736 [details, diff] quake1-data-2.40.diff
Why don't you just make them block each other?
Because they can reside together quite happily, *without* the symlink. A mutually-exclusive block sounds excessive.
Added to CVS... thanks for the patch, Paul.
Created attachment 93076 [details, diff] a patch to check if quake1-demodata is installed
This update only seems to work if quake1-demodata is already installed. If it is not, an error is returned. # emerge "=quake1-data-2.40" Calculating dependencies... done! >>> Emerging (1 of 1) games-fps/quake1-data-2.40 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) * The symlink for the demo data conflicts with the cdinstall data !!! ERROR: games-fps/quake1-data-2.40 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup quake1-data-2.40.ebuild, line 26: Called die !!! Unmerge games-fps/quake1-demodata to remove the conflict !!! If you need support, post the topmost build error, and the call stack if relevant. # equery list games-fps/ [ Searching for all packages in 'games-fps' among: ] * installed packages [I--] [ ~] games-fps/darkplaces-20060616_beta1 (0) [I--] [ ] games-fps/doom-data-1 (0) [I--] [ ] games-fps/quake2-data-3.20 (0) [I--] [ ] games-fps/quake2-icculus-0.16.1 (0) [I--] [ ~] games-fps/quake3-1.34_alpha789 (0) [I--] [ ] games-fps/quake3-data-1.32b (0) [I--] [ ] games-fps/quakeforge-0.5.5 (0) Others may be seeing this problem as well: http://forums.gentoo.org/viewtopic-t-478606.html
(In reply to comment #6) > This update only seems to work if quake1-demodata is already installed. See bug #139842.