summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst')
-rw-r--r--ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst b/ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst
new file mode 100644
index 000000000..b32c2fb00
--- /dev/null
+++ b/ubuntu/precise/tdeadmin/debian/knetwortdeconf-trinity.postinst
@@ -0,0 +1,27 @@
+#! /bin/sh -e
+
+case "$1" in
+
+ configure)
+ dpkg-divert --remove /usr/share/icons/hicolor/16x16/apps/knetwortdeconf.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/apps/knetwortdeconf.png
+ dpkg-divert --remove /usr/share/icons/hicolor/32x32/apps/knetwortdeconf.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/actions/network_connected_lan_knc.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/actions/network_disconnected_lan.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/actions/network_disconnected_wlan.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/actions/network_traffic_wlan.png
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0