XPost: linux.debian.maint.tetex
From:
[email protected]
Frank K�ster <
[email protected]> wrote:
This is my new version of setup-conffiles; it's not yet tested (and I
won't be able to do much testing before I leave for vacation). I will
check it in as soon as the upload of tetex-base as it is now is done.
Below is the complete patch. I did a
find -name "*cfg" -o "*cnf" -o "*.ini"
in the texmf tree, and had a look at those files. I had planned to write
a mail about this before I left (and I did indeed write it, but it seems
I failed to send). Therefore, things are not very much present in my
mind now...
There are a couple of them that I do not regard as configuration
files.
- First of all, theses are all *.ini files for format generation: They
correspond to a particular format as it is known, and you won't make
friends if your latex format is not the same as the LaTeX team's
version. The reasonable alternative is to have a mylatex (or
whateverlatex) format in $LOCALTEXMF.
- /usr/share/texmf/tex/generic/babel/frenchb.cfg
all customization can be done in preamble, and it's better to do so
according to documentation. This is formally a configuration file, but
it seems the authors prefer it not to be changed.
- not a configuration file
/usr/share/texmf/tex/generic/babel/hyphen.cfg /usr/share/texmf/tex/fontinst/base/fontinst.ini /usr/share/texmf/omega/lambda/misc/omarab.cfg /usr/share/texmf/omega/lambda/misc/omlgc.cfg /usr/share/texmf/context/data/conedt.ini
(The last is a configuration file, but for the Windows Editor WinEdt).
The transition from files to symlinks is easy, the transition from
directories to symlinks requires some tweaking in the
{pre,post}{inst,rm} scripts.
Regards, Frank
--=-=-Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment;
filename=maps_no_conffile-base-2004-08-16.diff
Content-Transfer-Encoding: quoted-printable
Index: changelog ===================================================================
RCS file: /cvs/tetex/tetex-base/debian/changelog,v
retrieving revision 1.113
diff -u -r1.113 changelog
--- changelog 13 Aug 2004 11:39:13 -0000 1.113
+++ changelog 16 Aug 2004 13:28:49 -0000
@@ -1,3 +1,10 @@
+tetex-base (2.0.2a-3.1) unstable; urgency=low
+
+ * Move configuration files from /usr/share/texmf to /etc/texmf (Closes:
+ #92594) [frank]
+
+ -- Frank Küster <
[email protected]> Mon, 16 Aug 2004 15:21:47 +0200
+
tetex-base (2.0.2a-3) unstable; urgency=low
* This upload was practically by Hilmar. Thanks to Hilmar. [kohda]
Index: postinst ===================================================================
RCS file: /cvs/tetex/tetex-base/debian/postinst,v
retrieving revision 1.30
diff -u -r1.30 postinst
--- postinst 16 Jun 2004 08:22:36 -0000 1.30
+++ postinst 16 Aug 2004 13:28:49 -0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
@@ -48,6 +48,20 @@
# Use debconf.
. /usr/share/debconf/confmodule || exit
db_version 2.0
+
+# it is now safe to remove obsolete dirs
+NOWLINKDIRS="
+tex/latex/config
+etex/plain/config
+tex/platex/config
+tex/context/conf