summaryrefslogtreecommitdiff
path: root/extra/gnome-power-manager/gnome-power-manager.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnome-power-manager/gnome-power-manager.install')
-rw-r--r--extra/gnome-power-manager/gnome-power-manager.install11
1 files changed, 2 insertions, 9 deletions
diff --git a/extra/gnome-power-manager/gnome-power-manager.install b/extra/gnome-power-manager/gnome-power-manager.install
index 4666938db..f7e8c46ac 100644
--- a/extra/gnome-power-manager/gnome-power-manager.install
+++ b/extra/gnome-power-manager/gnome-power-manager.install
@@ -1,13 +1,6 @@
post_install() {
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- gtk-update-icon-cache -q -t -f usr/share/icons/gnome
-}
-
-pre_upgrade() {
- if (( $(vercmp $2 2.91.92) < 0 )); then
- usr/sbin/gconfpkg --uninstall gnome-power-manager
- fi
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_upgrade() {