summaryrefslogtreecommitdiff
path: root/debian/qt4-designer.preinst
blob: 7e7a976a012baa34c48358a2baf1325fa78098ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

case "$1" in
    upgrade)
        if dpkg --compare-versions $2 "<<" 4:4.8.5
        then
            update-alternatives --remove designer "/usr/bin/designer-qt4"
        fi ;;
esac

#DEBHELPER#