[Debian-tex-commits] SVN tex-common commit + diffs: r5138 - tex-common/branches/v3/debian

Norbert Preining preining at alioth.debian.org
Mon Mar 5 02:53:02 UTC 2012


Author: preining
Date: 2012-03-05 02:53:02 +0000 (Mon, 05 Mar 2012)
New Revision: 5138

Added:
   tex-common/branches/v3/debian/maintscript
Removed:
   tex-common/branches/v3/debian/preinst
Modified:
   tex-common/branches/v3/debian/postinst.in
   tex-common/branches/v3/debian/postrm.in
Log:
remove conffiles via debian/maintscript


Added: tex-common/branches/v3/debian/maintscript
===================================================================
--- tex-common/branches/v3/debian/maintscript	                        (rev 0)
+++ tex-common/branches/v3/debian/maintscript	2012-03-05 02:53:02 UTC (rev 5138)
@@ -0,0 +1,12 @@
+rm_conffile /etc/texmf/texmf.d/05TeXMF.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/15Plain.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/45TeXinputs.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/55Fonts.cnf 2.1
+rm_conffile /etc/texmf/texmf.d/65BibTeX.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/75DviPS.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/80DVIPDFMx.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/85Misc.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/90TeXDoc.cnf 2.11
+rm_conffile /etc/texmf/texmf.d/95NonPath.cnf 2.11
+rm_conffile /etc/texmf/updmap.d/00updmap.cfg 2.11
+rm_conffile /etc/texmf/language.d/00tex.cnf 2.11

Modified: tex-common/branches/v3/debian/postinst.in
===================================================================
--- tex-common/branches/v3/debian/postinst.in	2012-03-05 02:28:33 UTC (rev 5137)
+++ tex-common/branches/v3/debian/postinst.in	2012-03-05 02:53:02 UTC (rev 5138)
@@ -25,25 +25,6 @@
 action=$1
 trigger=$2
 
-
-# remove all the old files
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/05TeXMF.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/15Plain.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/45TeXinputs.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/55Fonts.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/65BibTeX.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/75DviPS.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/80DVIPDFMx.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/85Misc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/90TeXDoc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/95NonPath.cnf 2.11 -- "$@"
-  # updmap.d file
-  dpkg-maintscript-helper rm_conffile /etc/texmf/updmap.d/00updmap.cfg 2.11 -- "$@"
-  # also from very old
-  dpkg-maintscript-helper rm_conffile /etc/texmf/language.d/00tex.cnf 2.11 -- "$@"
-fi
-
 . <:=${CONFMODULE}:>
 db_version 2.0
 

Modified: tex-common/branches/v3/debian/postrm.in
===================================================================
--- tex-common/branches/v3/debian/postrm.in	2012-03-05 02:28:33 UTC (rev 5137)
+++ tex-common/branches/v3/debian/postrm.in	2012-03-05 02:53:02 UTC (rev 5138)
@@ -15,24 +15,6 @@
 # give commandline args a name
 action=$1 # remove, purge, upgrade, failed-upgrade, abort-install, abort-upgrade, disappear
 
-# remove all the old files
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/05TeXMF.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/15Plain.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/45TeXinputs.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/55Fonts.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/65BibTeX.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/75DviPS.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/80DVIPDFMx.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/85Misc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/90TeXDoc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/95NonPath.cnf 2.11 -- "$@"
-  # updmap.d file
-  dpkg-maintscript-helper rm_conffile /etc/texmf/updmap.d/00updmap.cfg 2.11 -- "$@"
-  # also from very old
-  dpkg-maintscript-helper rm_conffile /etc/texmf/language.d/00tex.cnf 2.11 -- "$@"
-fi
-
 <:open(FUNCTIONS,'debian/postrm.functions');@FUNCTIONS=<FUNCTIONS>;close(FUNCTIONS):>//
 <:=@FUNCTIONS:>//
 

Deleted: tex-common/branches/v3/debian/preinst
===================================================================
--- tex-common/branches/v3/debian/preinst	2012-03-05 02:28:33 UTC (rev 5137)
+++ tex-common/branches/v3/debian/preinst	2012-03-05 02:53:02 UTC (rev 5138)
@@ -1,26 +0,0 @@
-#!/bin/sh -e
-# 
-# preinst maintainer script for the Debian tex-common package.
-# $Id$
-
-# remove all the old files
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/05TeXMF.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/15Plain.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/45TeXinputs.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/55Fonts.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/65BibTeX.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/75DviPS.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/80DVIPDFMx.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/85Misc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/90TeXDoc.cnf 2.11 -- "$@"
-  dpkg-maintscript-helper rm_conffile /etc/texmf/texmf.d/95NonPath.cnf 2.11 -- "$@"
-  # updmap.d file
-  dpkg-maintscript-helper rm_conffile /etc/texmf/updmap.d/00updmap.cfg 2.11 -- "$@"
-  # also from very old
-  dpkg-maintscript-helper rm_conffile /etc/texmf/language.d/00tex.cnf 2.11 -- "$@"
-fi
-
-#DEBHELPER#
-
-




More information about the Debian-tex-commits mailing list