summaryrefslogtreecommitdiff
path: root/testing/network-manager-applet/network-manager-applet.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/network-manager-applet/network-manager-applet.install')
-rw-r--r--testing/network-manager-applet/network-manager-applet.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/network-manager-applet/network-manager-applet.install b/testing/network-manager-applet/network-manager-applet.install
new file mode 100644
index 000000000..255ea1f9a
--- /dev/null
+++ b/testing/network-manager-applet/network-manager-applet.install
@@ -0,0 +1,18 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 0.9.6.0) < 0 )); then
+ gconfpkg --uninstall network-manager-applet
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}