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

if [ "install" = "$1" ] || [ "upgrade" = "$1" ]; then
    if [ "`dpkg-divert --list zenity`" != "" ]; then
        dpkg-divert --package zenity --remove /usr/bin/gdialog
    fi
fi

#DEBHELPER#
bgstack15