summaryrefslogtreecommitdiff
path: root/debian/preinst
blob: 0c6b6fb4fa6da21fae2787fa10f2bbcd9194b066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh
 
set -e

if [ "install" = "$1" ] || [ "upgrade" = "$1" ]; then
    if [ "`dpkg-divert --list zenity`" != "" ]; then
        # I borked the divert earlier, this is left behind from gnome-utils.
        rm -f /usr/bin/gdialog.real
        dpkg-divert --package zenity --remove /usr/bin/gdialog
    fi
fi

#DEBHELPER#
bgstack15