Le 07/09/2014 21:47, Ken Moffat a écrit :
I'm aware that the instructions for install-tl-unx begin:
tar -xf install-tl-unx.tar.gz &&
cd install-tl-<CCYYMMDD>
because the installer will get updated from time to time during the
2014 texlive year, and this presumably breaks jhalfs.
But I've just had a thought: normally, we assume that the user has
untarred the package and changed into the created directory.
Mostly, the directory name bears a relationship to the tarball name,
but there are exceptions (e.g. firefox -> mozilla-release).
How about if I remove those initial unstructions ? Will that help
users of e.g. jhalfs ? Is there something _so_different_ about
install-tl-unx that we ought to tell people to untar it and change
to the directory ?
As the only user (known to me ;-) ) of jhalfs for BLFS, I feel I should
answer something...
Well, first of all, the current version of jhalfs does not deal with pages
without a version in the title. So there is no hope, at least currently,
to be able to automate the script generation for install-tl-unx.
Second, even if a version were added to the title, since the installation
process is interactive, installation cannot be automated anyway.
Third, just FYI, the unpacking instructions in jhalfs are:
------
tar -xvf $PACKAGE > unpacked
UNPACKDIR=`grep '[^./]\+' unpacked | head -n1 | sed 's@^./@@;s@/.*@@'`
cd $UNPACKDIR
------
which takes care of any name variation of the extracted directory (well
for all
packages in BLFS at least).
I guess the conclusion is that the unpacking instructions could be removed
from the book, but anyway, jhalfs will not be impacted much.
Regards
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page