summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 00:16:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-06 00:16:36 -0600
commitf4634b328371616fc548101a85bd9a02dbb98f88 (patch)
treefc4d5d0aa17d68cf73f5f7bef92bd17dd402b782 /ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst
parentbac93c22920098660092d956471b89a2ac57ae0a (diff)
downloadtde-packaging-f4634b328371616fc548101a85bd9a02dbb98f88.tar.gz
tde-packaging-f4634b328371616fc548101a85bd9a02dbb98f88.zip
Fix accidental networtde renames
Diffstat (limited to 'ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst')
-rw-r--r--ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst b/ubuntu/precise/tdeadmin/debian/knetworkconf-trinity.postinst
new file mode 100644
index 000000000..bcb12994d
--- /dev/null
+++ b/ubuntu/precise/tdeadmin/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