#!/bin/sh

set -e

if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "2019.4"; then
    # Cleanup diversion setup by former real package
    dpkg-divert --rename --package gnome-theme-kali \
		--divert /usr/share/gnome-shell/theme/gnome-shell.css.original \
		--remove /usr/share/gnome-shell/theme/gnome-shell.css
fi

#DEBHELPER#
