summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.postinst')
-rw-r--r--ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.postinst b/ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.postinst
new file mode 100644
index 000000000..bcb12994d
--- /dev/null
+++ b/ubuntu/maverick_automake/kdeadmin/debian/knetworkconf-kde3.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