[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140927: Configuration files should be preserved on upgrades.



Package: tetex-bin
Version: 1.0.7+20011202-5.1
Severity: serious

What tetex-bin.postinst does, namely:

if [ -e $FMTCNF -a ! -e $FMTCNF.dpkg-old ]
then
    echo "$FMTCNF is now not a conffile and should be generated by $UPDFMT."
    echo "Old $FMTCNF would be moved as $FMTCNF.dpkg-old"
    mv $FMTCNF $FMTCNF.dpkg-old
fi
if [ -x $UPDFMT ] ; then
$UPDFMT -v
fi

is incompatible with Debian policy when it says "local changes to
configuration files *must* be preserved during a package upgrade".

Since /etc/texmf/fmt.d/00tetex.cnf has now what fmtutil.cnf used to
have, I suggest that in an upgrade from potato, /etc/texmf/fmtutil.cnf
is not renamed but instead it's copied to /etc/texmf/fmt.d/00tetex.cnf
before fmtutil is called. This would preserve user changes, at least.

[ Sorry, I don't see an easy workaround for mktex.cnf ].



-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: