[subversion-commit] SVN tetex commit + diffs: r278 - tex-common/trunk/scripts

Norbert Preining preining-guest at costa.debian.org
Tue Oct 18 17:02:52 UTC 2005


Author: preining-guest
Date: 2005-10-18 17:02:51 +0000 (Tue, 18 Oct 2005)
New Revision: 278

Modified:
   tex-common/trunk/scripts/dh_installtexfonts
Log:
added -n --noscripts parameter to call dh_installtexfonts several times
without modifying the maintainer scripts


Modified: tex-common/trunk/scripts/dh_installtexfonts
===================================================================
--- tex-common/trunk/scripts/dh_installtexfonts	2005-10-18 16:56:31 UTC (rev 277)
+++ tex-common/trunk/scripts/dh_installtexfonts	2005-10-18 17:02:51 UTC (rev 278)
@@ -11,7 +11,7 @@
 
 =head1 SYNOPSIS
 
-B<dh_installtexfonts> [S<I<debhelper options>>] [B<--priority=>I<n>] [S<I<maptype=mapfile ...>>] [S<I<cfg-file[=I<n>] ...>>] 
+B<dh_installtexfonts> [S<I<debhelper options>>] [B<-n>] [B<--priority=>I<n>] [S<I<maptype=mapfile ...>>] [S<I<cfg-file[=I<n>] ...>>] 
 
 =head1 DESCRIPTION
 
@@ -61,6 +61,10 @@
 
 =over 4
 
+=item B<-n>, B<--noscripts>
+
+Do not modify postinst/prerm scripts.
+
 =item B<--priority=>I<n>
 
 Instead of using the default priority of 10 for the updmap-config file,
@@ -198,8 +202,10 @@
 	}
 	close(LISTFILE);
 
-	autoscript($package, "postinst", "postinst-texfonts", "");
-	autoscript($package, "postrm",   "postrm-texfonts",   "");
+	if (! $dh{NOSCRIPTS}) {
+		autoscript($package, "postinst", "postinst-texfonts", "");
+		autoscript($package, "postrm",   "postrm-texfonts",   "");
+	}
 
 	addsubstvar($package, "misc:Depends", "tex-common", ">= 0.7");
 }




More information about the Pkg-tetex-commits mailing list