summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-power-manager.install
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-12-11 12:55:19 +0100
committerStefano Karapetsas <[email protected]>2011-12-11 12:55:19 +0100
commit51175189c6d7313a3b84019e39496f957c4e6164 (patch)
treee4c2c130fa3140bca28685ef900f04a012e53dcd /distro/archlinux/mate-power-manager.install
downloadmate-power-manager-51175189c6d7313a3b84019e39496f957c4e6164.tar.bz2
mate-power-manager-51175189c6d7313a3b84019e39496f957c4e6164.tar.xz
moved from Mate-Extra
Diffstat (limited to 'distro/archlinux/mate-power-manager.install')
-rw-r--r--distro/archlinux/mate-power-manager.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/distro/archlinux/mate-power-manager.install b/distro/archlinux/mate-power-manager.install
new file mode 100644
index 0000000..1e3ac8e
--- /dev/null
+++ b/distro/archlinux/mate-power-manager.install
@@ -0,0 +1,22 @@
+pkgname=mate-power-manager
+
+post_install() {
+ usr/sbin/mateconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/mateconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}