summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-control-center.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:51:44 -0300
committerPerberos <[email protected]>2011-12-01 21:51:44 -0300
commit0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch)
tree47d329edd31c67eaa36b2147780e37e197e901b5 /distro/archlinux/mate-control-center.install
downloadmate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2
mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro/archlinux/mate-control-center.install')
-rw-r--r--distro/archlinux/mate-control-center.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/distro/archlinux/mate-control-center.install b/distro/archlinux/mate-control-center.install
new file mode 100644
index 00000000..4cd00c7d
--- /dev/null
+++ b/distro/archlinux/mate-control-center.install
@@ -0,0 +1,26 @@
+pkgname=mate-control-center
+
+post_install() {
+ usr/sbin/mateconfpkg --install ${pkgname}
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/mateconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-mime-database usr/share/mime
+}