#2391: Convenience /etc/X11 symlinks point the other way round
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [email protected]
Type: task | Status: new
Priority: normal | Milestone: 6.3
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------------------------------+-------------------------------
Comment (by [EMAIL PROTECTED]):
Okay, I would like the symlink before installation idea, but problem is
that we won't know before hand what is going to be installed. If we
remove the && in the above instructions, those will work for all cases,
but we still wind up with invalid symlinks in $XORG_PREFIX/lib/X11. I'm
really happy with the -t example in the ln command because it is rarely
used, but I think a loop would be better here I guess. Actually, we
_could_ keep it, but it doesn't make much sense since it's only a single
symlink...
{{{
mv -v $XORG_PREFIX/lib/X11/{config,fs,lbxproxy,proxymngr,xkb,twm} \
$XORG_PREFIX/lib/X11/{rstart,xdm,xinit,xsm,app-defaults} \
$XORG_PREFIX/share/X11/{xedit,Cards,Options,Xcms.txt} \
/etc/X11
for link in /etc/X11/{config,fs,lbxproxy,proxymngr,xkb,twm,rstart,\
xdm,xinit,xsm,app-defaults,xedit,Cards,Options,Xcms.txt}
do
test -e $link &&
ln -svt $XORG_PREFIX/lib/X11 $link
done
}}}
That's just silly. I'm leaving the link above for example, but the book
should use "ln -sv $link $XORG_PREFIX/lib/X11" in the real instructions.
Do the above commands look acceptable?
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2391#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page