Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (12 sloc) 0.401 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
# versions prior to 1.5.20-9 used dpkg-divert instead of update-alternatives
if [ "$2" ] && dpkg --compare-versions "$2" lt "1.5.20-9" ; then
dpkg-divert --remove --package mutt-patched --rename \
--divert /usr/bin/mutt.org /usr/bin/mutt
fi

update-alternatives --install /usr/bin/mutt mutt /usr/bin/mutt-patched 60
fi

#DEBHELPER#

exit 0
Something went wrong with that request. Please try again.