[Debian-tex-commits] SVN tex-common commit + diffs: r1988 -
tex-common/trunk/debian
Frank Küster
frank at alioth.debian.org
Wed Dec 6 17:24:11 CET 2006
Author: frank
Date: 2006-12-06 17:24:10 +0100 (Wed, 06 Dec 2006)
New Revision: 1988
Modified:
tex-common/trunk/debian/postinst.in
tex-common/trunk/debian/postrm.functions
tex-common/trunk/debian/preinst.in
Log:
register ucf files for tex-common
Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in 2006-12-06 16:13:15 UTC (rev 1987)
+++ tex-common/trunk/debian/postinst.in 2006-12-06 16:24:10 UTC (rev 1988)
@@ -61,6 +61,7 @@
# handle ucf-managed configuration files
for file in $UCF_FILES; do
$UCF /usr/share/tex-common/`basename $file` /etc/texmf/$file
+ test -x "`which ucfr`" && ucfr tex-common $conffile || true
done
# remove left over fmt/efmt/log files in /usr/share/texmf/web2c/. If they are
Modified: tex-common/trunk/debian/postrm.functions
===================================================================
--- tex-common/trunk/debian/postrm.functions 2006-12-06 16:13:15 UTC (rev 1987)
+++ tex-common/trunk/debian/postrm.functions 2006-12-06 16:24:10 UTC (rev 1988)
@@ -15,5 +15,8 @@
if [ -x /usr/bin/ucf ]; then
ucf --purge "${conffile}"
fi
+ if [ -x /usr/bin/ucfr ]; then
+ ucfr --purge tex-common "${conffile}"
+ fi
}
Modified: tex-common/trunk/debian/preinst.in
===================================================================
--- tex-common/trunk/debian/preinst.in 2006-12-06 16:13:15 UTC (rev 1987)
+++ tex-common/trunk/debian/preinst.in 2006-12-06 16:24:10 UTC (rev 1988)
@@ -107,6 +107,7 @@
# reinstalled by postinst (a copy is already saved).
rm -f $tempfile1 $conffile
ucf --purge $conffile
+ test -x "`which ucfr`" && ucfr --purge tex-common $conffile || true
fi
rm -rf "$tempdir"
@@ -115,6 +116,7 @@
# reinstalled by postinst
rm -f $conffile
ucf --purge $conffile
+ test -x "`which ucfr`" && ucfr --purge tex-common $conffile || true
fi
}
More information about the Debian-tex-commits
mailing list