~ubuntu-branches/ubuntu/intrepid/dblatex/intrepid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hoenen
  • Date: 2006-07-09 11:49:52 UTC
  • Revision ID: james.westby@ubuntu.com-20060709114952-0an2wc0vht0upgln
Tags: 0.1.9-3
* Install TeX input files in TEXMFMAIN.  Closes: #376388
* Fix itemizedlist for french documents.  Closes: #374215
* Improve the way font setup uses to access Postscript fonts.  Closes: #376418
* Allow TeX to be provided by texlive as an alternative to tetex.
  Closes: #376386
* Fix the copyright output for multiple copyright holders in db2latex style.
  Closes: #374212
* Add copyright output in native style.
* Dump out the debian version of dblatex instead of the upstream version when
  invoking dblatex.  (Thanks to Benoit Guillon for this suggestion.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# postinst script for dblatex
 
3
#
 
4
# see: dh_installdeb(1)
 
5
 
 
6
set -e
 
7
 
 
8
# summary of how this script can be called:
 
9
#        * <postinst> `configure' <most-recently-configured-version>
 
10
#        * <old-postinst> `abort-upgrade' <new version>
 
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
 
12
#          <new-version>
 
13
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
 
14
#          <failed-install-package> <version> `removing'
 
15
#          <conflicting-package> <version>
 
16
# for details, see http://www.debian.org/doc/debian-policy/ or
 
17
# the debian-policy package
 
18
#
 
19
 
 
20
case "$1" in
 
21
    configure|abort-upgrade|abort-remove|abort-deconfigure)
 
22
 
 
23
        # A call to 'mktexlsr' is needed to register the dblatex TeX files
 
24
        # in the TeX database '/var/lib/texmf/ls-R-TEXMFMAIN'.
 
25
        #
 
26
        # This call won't do any harm even if it might be superfluous in
 
27
        # special cases.
 
28
 
 
29
        mktexlsr /usr/share/texmf
 
30
        ;;
 
31
    *)
 
32
        echo "postinst called with unknown argument \`$1'" >&2
 
33
        exit 1
 
34
esac
 
35
 
 
36
# dh_installdeb will replace this with shell code automatically
 
37
# generated by other debhelper scripts.
 
38
 
 
39
#DEBHELPER#
 
40
 
 
41
exit 0