[tex-live] updmap and /

Zdenek Wagner zdenek.wagner at gmail.com
Wed Feb 25 00:30:03 CET 2009


2009/2/24 Norbert Preining <preining at logic.at>:
> On Di, 24 Feb 2009, Zdenek Wagner wrote:
>> > { cd "$tmpdir" && cd .. && rm -rf "$tmpdir" }
>> >
>> > be better? unless of course we do not have read access to the directory
>> > above $tmpdir
>> >
>> And why is it necessary to "cd" anywhere? I would do it like that:
>> rm -rf "$tmpdir" if -d "$tmpdir";
>
> All good questions, but until we rewrite updmap in perl we will not have
> a decent solution.
>
> And until nobody can confirm with decent argumentation that the approach
> Thomas Esser took here was overdoing it and there are no circumstances
> where this isn't necessary, we probably will not hack around in those
> shell scripts.
>
I forgot it's a shell script. In that case the following should work:

[ -d "$tmpdir" ] && rm -rf "$tmpdir"

> Best wishes
>
> Norbert
>
> -------------------------------------------------------------------------------
> Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
> Debian Developer <preining at debian.org>                         Debian TeX Group
> gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
> -------------------------------------------------------------------------------
> BROMSGROVE
> Any urban environment containing a small amount of dogturd and about
> forty-five tons of bent steel pylon or a lump of concrete with holes
> claiming to be sculpture. 'Oh, come my dear, and come with me. And
> wander 'neath the bromsgrove tree' - Betjeman.
>                        --- Douglas Adams, The Meaning of Liff
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list