~ubuntu-branches/ubuntu/maverick/mutt/maverick

« back to all changes in this revision

Viewing changes to debian/mutt-patched.preinst

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2010-06-22 17:48:54 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20100622174854-grpayfk2rgoyl2qk
Tags: 1.5.20-9ubuntu1
* Merge with Debian (LP: #588736). Remaining changes:
  + debian/control, debian/patches/debian-specific/build_doc_adjustments.diff:
    Use w3m (main) instead of elinks (universe) for generating documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
2
 
 
3
 
# Divert mutt to mutt.org so the binary from mutt-patched can replace it.
4
 
# We do not need to divert the debugging symbols in the mutt-dbg package
5
 
# as the debugging link in there points to the correct file in any case.
6
 
 
7
 
if [ "$1" = install ] || [ "$1" = upgrade ] ; then
8
 
        dpkg-divert --add --package mutt-patched --rename \
9
 
                --divert /usr/bin/mutt.org /usr/bin/mutt
10
 
fi
11
 
 
12
 
#DEBHELPER#
13
 
 
14
 
exit 0