Proposal for tex-common postrm script
Hi all!
I would suggest that we change the tex-common postrm.in script as
follows:
--- postrm.in (Revision 183)
+++ postrm.in (Arbeitskopie)
@@ -19,15 +19,8 @@
## do the things we have to do always
case $action in
remove)
- # remove /var/lib/texmf/web2c/*
- rm -f $TEXMFSYSVAR/web2c/*
- rm -f $TEXMFSYSVAR/tex/generic/config/language.dat
- rm -f $TEXMFSYSVAR/ls-R-LOCAL
-
- # now remove the directory
- # (if we were installed with an old version of tetex-base, the
other package
- # might have deleted it already)
- test -d /var/lib/texmf && rmdir --ignore-fail-on-non-empty
/var/lib/texmf || true
+ rm -rf $TEXMFSYSVAR
+ rm -rf /var/cache/fonts
;;
purge)
# purge texmf_parts
Reason behind: /var/lib/texmf/ is generated by tex-common and files in
there are generated on demand, so we should remove them (eg there are
the generated files from updmap-sys).
Same goes for /var/cache/fonts.
Can I submit, or are there any objections?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
sip:preining@at43.tuwien.ac.at +43 (0) 59966-690018
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BAUMBER
A fitted elasticated bottom sheet which turns your mattress
bananashaped.
--- Douglas Adams, The Meaning of Liff
Reply to: