-# This is a list of paths where DocBook files might be stored.
-my @xml_paths = (
- 'usr/share/gnome/help' # GNOME Help
-);
-
-# Append the remaining command line arguments
-push @xml_paths, @ARGV if @ARGV;
-
-foreach my $package (@{$dh{DOPACKAGES}}) {
- my $tmp=tmpdir($package);
-
- # Only run if there have been OMF files installed
- if (-d "$tmp/usr/share/omf") {
- # Get a list of the OMF files
- my @omf_files = `find $tmp/usr/share/omf -type f -printf '%p\n'`;
- if (@omf_files) {
- if (! $dh{NOSCRIPTS}) {
- autoscript($package,"postinst","postinst-scrollkeeper");
- autoscript($package,"postrm","postrm-scrollkeeper");
- }
- # scrollkeeper use xml catalogs so we require 0.3.14-5+.
- addsubstvar($package, "misc:Depends", "scrollkeeper", ">= 0.3.14-5");
- }
- }
-}