summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>2004-02-09 23:35:03 +0000
committerjoey <joey>2004-02-09 23:35:03 +0000
commitbc4fe9de827469761052c59c75c7ea6b6b473f85 (patch)
tree71c61e357df34b29281861ccffb0907fa69e06c2
parent68031ac814b3d8fdafdaafdc13a4c5519165e338 (diff)
r1658: * dh_installxfonts(1): fix link to policy. Closes: #231918
* dh_scrollkeeper: patch from Christian Marillat Closes: #231703 - Remove DTD changes since docbook-xml not supports xml catalogs. - Bump scrollkeeper dep to 0.3.14-5. * dh_installinfo: remove info stuff on update as well as remove. Policy is unclear/wrong. Closes: #231937a
-rw-r--r--autoscripts/prerm-info2
-rwxr-xr-xdh_installxfonts2
-rwxr-xr-xdh_scrollkeeper23
3 files changed, 4 insertions, 23 deletions
diff --git a/autoscripts/prerm-info b/autoscripts/prerm-info
index 6d13234..57d25c0 100644
--- a/autoscripts/prerm-info
+++ b/autoscripts/prerm-info
@@ -1,3 +1,3 @@
-if [ "$1" = remove ]; then
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
install-info --quiet --remove #FILE#
fi
diff --git a/dh_installxfonts b/dh_installxfonts
index c60178d..010d460 100755
--- a/dh_installxfonts
+++ b/dh_installxfonts
@@ -38,7 +38,7 @@ works.
See L<update-fonts-alias(8)>, L<update-fonts-scale(8)>, and
L<update-fonts-dir(8)> for more information about X font installation.
-See Debian policy, section 12.8.5. for details about doing fonts the Debian
+See Debian policy, section 11.8.5. for details about doing fonts the Debian
way.
=cut
diff --git a/dh_scrollkeeper b/dh_scrollkeeper
index 2346532..11d1adb 100755
--- a/dh_scrollkeeper
+++ b/dh_scrollkeeper
@@ -66,31 +66,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Get a list of the OMF files
my @omf_files = `find $tmp/usr/share/omf -type f -printf '%p\n'`;
if (@omf_files) {
- # Change any remote DTDs into local DTDs. We only
- # look at the first 10 lines to avoid changing any
- # of the content. First, the OMF files
- foreach my $file (@omf_files) {
- chomp $file;
- doit("perl", "-i", "-pe", 's,http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd,/usr/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd, if $. < 10', $file);
- }
- # I could be cunning and parse the OMF for the DocBook
- # files. That is far too much effort. Find to the
- # rescue! Look for .xml files in the list of
- # directories we think they might be in.
- foreach my $xmlpath (@xml_paths) {
- foreach my $file (`find $tmp/$xmlpath -type f -name \*.xml -printf '%p\n'`) {
- chomp $file;
- doit("perl", "-i", "-pe", 's,http://www.oasis-open.org/docbook/xml/([^/]+)/docbookx.dtd,/usr/share/sgml/docbook/dtd/xml/\\1/docbookx.dtd, if $. < 10', $file);
- }
- }
-
if (! $dh{NOSCRIPTS}) {
autoscript($package,"postinst","postinst-scrollkeeper");
autoscript($package,"postrm","postrm-scrollkeeper");
}
- # The scripts use scrollkeeper-update with the -q
- # option, so we require 0.3.8+.
- addsubstvar($package, "misc:Depends", "scrollkeeper", ">= 0.3.8");
+ # scrollkeeper use xml catalogs so we require 0.3.14-5+.
+ addsubstvar($package, "misc:Depends", "scrollkeeper", ">= 0.3.14-5");
}
}
}