On Son, 20 Mai 2007, Frank Küster wrote:
> | # remove old stuff from tetex:
> | rm -f /etc/texmf/updmap.d/10tetex-base.cfg
> | rm -f /etc/texmf/fmt.d/01tetex.cnf
> | rm -f /etc/texmf/tex/language.d/00tetex.cnf
> | 
> | [...]
> | 
> | [Sidenote: I guess rm -f is not the right thing, since those files could
> | contain important local configuration.  Should we rather append an
> | extension?] 

Better code?:

for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf tex/language.d/00tetex.cnf 
; do
        if [ -r /etc/texmf/$i ] ; then
                mv /etc/texmf/$i /etc/texmf/$i.obsolete
                echo "Obsolete config file /etc/texmf/$i has been renamed" >&2
                echo "as /etc/texmf/$i.obsolete." >&2
        fi
done

??

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <[EMAIL PROTECTED]>                    Università di Siena
Debian Developer <[EMAIL PROTECTED]>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BAUGHURST
That kind of large fierce ugly woman who owns a small fierce ugly dog.
                        --- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to