~ubuntu-branches/ubuntu/lucid/pdl/lucid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Ben Gertzfield
  • Date: 2002-04-08 18:47:16 UTC
  • Revision ID: james.westby@ubuntu.com-20020408184716-0hf64dc96kin3htp
Tags: upstream-2.3.2
ImportĀ upstreamĀ versionĀ 2.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
[ -x /usr/bin/update-menus ] && /usr/bin/update-menus
 
6
 
 
7
# work around potential dpkg breakage
 
8
  if [ "$1" = "configure" ]; then
 
9
        if [ -d /usr/doc -a ! -e /usr/doc/pdl \
 
10
            -a -d /usr/share/doc/pdl ]; then
 
11
                ln -sf ../share/doc/pdl /usr/doc/pdl
 
12
        fi
 
13
  fi
 
14
 
 
15
perl /usr/lib/perl5/PDL/Doc/scantree.pl >/dev/null 2>&1
 
16
perl /usr/lib/perl5/PDL/Doc/mkhtmldoc.pl >/dev/null 2>&1