Bug#607857: texlive-base: don't put files under /usr/local (proposed patch)
Hi Hideki,
what are you trying to do? Why do you not try to understand what I wrote
several times?
Yes, we know that we create /u/l/s/texmf, this is allowed by policy.
The question is *WHY* an ls-R file is created there, because none
of *our* scripts (AFAIS) creates it, all call mktexlsr with
a list of arguments, so do every package using dh_installtex and
triggers.
> Oops, there's texmf!
Yes we know.
> >./postinst.in: if [ ! -e /usr/local/share/texmf ]
> >./postinst.in: if mkdir -p /usr/local/share/texmf 2>/dev/null
> >./postinst.in: chown root:staff /usr/local/share/texmf
> >./postinst.in: chmod 2775 /usr/local/share/texmf
> >./postrm.in: # try to remove /usr/local/share/texmf if it is empty
> >./postrm.in: #rm -f /usr/local/share/texmf/ls-R 2>/dev/null || true
> >./postrm.in: rmdir --ignore-fail-on-non-empty /usr/local/share/texmf/ 2>/dev/null || true
This is what I wrote you in my last email, I read (the hundreds time)
through the post* scripts and I know what is there.
The question is *why* a ls-R file is created there.
> Unfortunately, no, #528021 still exists. Here's a proposal patch to
> fix this issue.
??? Can you please give indication and source of where mktexlsr
is called without a list of directory trees? Or do you state it
just for fun?
> diff -Nru tex-common-2.08/debian/postinst.in
> tex-common-2.08+nmu1/debian/postinst.in
> --- tex-common-2.08/debian/postinst.in 2010-02-28 13:07:43.000000000 +0900
> +++ tex-common-2.08+nmu1/debian/postinst.in 2010-12-24
THis patch would reopen 475077.
This is getting boring.
I don't want to be unfriendly, but your findings have been explained
by me already, and instead of providing useful information you provide
less useful patches.
I will not support this NMU, if you plan to go ahead with it.
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
Does it worry you that you don't talk any kind of sense?
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
Reply to: