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#