summaryrefslogtreecommitdiff
path: root/debian/qt4-qtconfig.preinst
blob: a043ed8f23f67083b2fda7db86e524452cfc6e41 (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 qtconfig "/usr/bin/qtconfig-qt4"
        fi ;;
esac

#DEBHELPER#