~ubuntu-branches/ubuntu/intrepid/xml-core/intrepid

« back to all changes in this revision

Viewing changes to debhelper/dh_installxmlcatalogs

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Leidert (dale), Daniel Leidert
  • Date: 2007-04-16 19:17:50 UTC
  • Revision ID: james.westby@ubuntu.com-20070416191750-5mr9q5f50k3j6hry
Tags: 0.11
[ Daniel Leidert ]
debian/xml-core.postrm: Only try to remove /var/lib/xml-core, if it
exists (closes: #358364). Thanks to Kurt Roecks, who catched this issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
the XML catalog system (unless B<-n> is used).  A dependency on the
71
71
B<xml-core> package will be added to C<${misc:Depends}>, so be sure to
72
72
use that variable in the file F<debian/control>.  See
73
 
L<dh_installdeb(1)> for an explantion of Debhelper maintainer script
 
73
L<dh_installdeb(1)> for an explanation of Debhelper maintainer script
74
74
snippets.
75
75
 
76
76
=head1 OPTIONS
288
288
                        addsubstvar( $package,
289
289
                                     "misc:Depends", "xml-core", ">= $xmlcorever" );
290
290
 
 
291
                        # Make sure /etc/xml exists (see http://bugs.debian.org/411770).
 
292
                        if (! -d "$tmpdir/etc/xml") {
 
293
                                doit("install","-d","-m755","$tmpdir/etc/xml");
 
294
                        }
 
295
 
291
296
                }
292
297
        }
293
298
}