debconf, tex-common and the management of ls-R and .cnf files
Hi all!
To remind us: We should move the config.in from tetex-bin to tex-common.
(and probably the template file, too).
I have taken a look into the config.in file: It consists of two things:
The second could be taken as is:
-------------
# ls-R handling (taken from old config script, copyright?)
db_input low tetex-bin/lsr-perms || true
db_go
db_get tetex-bin/lsr-perms
if [ x"$RET" = x"true" ]; then
db_beginblock
db_input low tetex-bin/groupname || true
db_input low tetex-bin/groupperm || true
db_input low tetex-bin/userperm || true
db_endblock
fi
db_go
--------------
Maybe we should change the tetex-bin to tex-common, too.
The first part is a bit complicated:
----------------------
# suggest a user to rename old cnf files (copyright Atsuhito?)
# (upgrade from woody, keep for etch?)
if [ -d /etc/texmf/texmf.d ]; then
if ls /etc/texmf/texmf.d 2> /dev/null | egrep -vq '(\.cnf|\.dpkg-.*|~)$'; then
db_input medium tetex-bin/cnf_name || true
db_go || true
fi
fi
----------------------
Here I am not sure wether we can take it as is.
How do we proceed?
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
-------------------------------------------------------------------------------
TAROOM (vb.)
To make loud noises during the night to let the burglars know you are
in.
--- Douglas Adams, The Meaning of Liff
Reply to: