summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-11-15 18:10:52 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-11-15 18:10:52 +0100
commit830f9676b4568fdf5704bd94c856d97d4c35813d (patch)
treeb7eb9bd9ca4fdb4c97da7b013583c87ab8f6e671 /ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst
parent0bfe4e2db5faf194cbafe6c3fcb8f331dd32f8c5 (diff)
downloadtde-packaging-830f9676b4568fdf5704bd94c856d97d4c35813d.tar.gz
tde-packaging-830f9676b4568fdf5704bd94c856d97d4c35813d.zip
DEB: adjusted to new 'core' folder for main packages.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst')
-rw-r--r--ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst27
1 files changed, 27 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst b/ubuntu/lucid_automake/core/kdeadmin/debian/knetworkconf-kde3.postinst
new file mode 100644
index 000000000..bcb12994d
--- /dev/null
+++ b/ubuntu/lucid_automake/core/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