summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst')
-rw-r--r--ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst b/ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst
new file mode 100644
index 000000000..bcb12994d
--- /dev/null
+++ b/ubuntu/maverick/kdeadmin/debian/knetworkconf-trinity.postinst
@@ -0,0 +1,27 @@
+#! /bin/sh -e
+
+case "$1" in
+
+ configure)
+ dpkg-divert --remove /usr/share/icons/hicolor/16x16/apps/knetworkconf.png
+ dpkg-divert --remove /usr/share/icons/hicolor/22x22/apps/knetworkconf.png
+ dpkg-divert --remove /usr/share/icons/hicolor/32x32/apps/knetworkconf.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