~ubuntu-branches/ubuntu/natty/luatex/natty

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-12-25 09:47:05 UTC
  • mfrom: (1.1.9 upstream) (4.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091225094705-y33rpflo8t4u9nag
Tags: 0.50.0-1
* new upstream release
* disable fix-hurd-ftbfs patch, included upstream
* disable upstram-fixes, included upstream
* disable ubuntu_libpoppler-0.11, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# luatex preinst
4
 
 
5
 
set -e
6
 
 
7
 
# as long as we ship texdoclua in luatex (and not in texlive-base-bin)
8
 
# let's add a diversion.
9
 
 
10
 
if [ "$1" = install ] || [ "$1" = upgrade ]
11
 
then
12
 
   dpkg-divert --add --package luatex --rename \
13
 
          --divert /usr/bin/texdoc.notluatex /usr/bin/texdoc
14
 
   dpkg-divert --add --package luatex --rename \
15
 
          --divert /usr/share/man/man1/texdoc.notluatex.1.gz \
16
 
          /usr/share/man/man1/texdoc.1.gz
17
 
fi
18
 
 
19
 
#DEBHELPER#
20
 
 
21
 
exit 0