summaryrefslogtreecommitdiff
path: root/gnome-unstable/gnome-control-center/gnome-control-center.install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gnome-control-center/gnome-control-center.install')
-rw-r--r--gnome-unstable/gnome-control-center/gnome-control-center.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnome-unstable/gnome-control-center/gnome-control-center.install b/gnome-unstable/gnome-control-center/gnome-control-center.install
new file mode 100644
index 000000000..8f0bc46fb
--- /dev/null
+++ b/gnome-unstable/gnome-control-center/gnome-control-center.install
@@ -0,0 +1,18 @@
+pkgname=gnome-control-center
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}