summaryrefslogtreecommitdiff
path: root/distro/archlinux/libmateweather.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 21:42:39 -0300
committerPerberos <[email protected]>2011-12-01 21:42:39 -0300
commitfe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch)
tree9881bf77df7572844707cc7c50bd8ca6b5a97076 /distro/archlinux/libmateweather.install
downloadlibmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2
libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro/archlinux/libmateweather.install')
-rw-r--r--distro/archlinux/libmateweather.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/distro/archlinux/libmateweather.install b/distro/archlinux/libmateweather.install
new file mode 100644
index 0000000..2ce4d50
--- /dev/null
+++ b/distro/archlinux/libmateweather.install
@@ -0,0 +1,19 @@
+pkgname=libmateweather
+
+post_install() {
+ usr/sbin/mateconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ if [ -f usr/share/mateconf/${pkgname}.schemas ]; then
+ usr/sbin/mateconfpkg --uninstall ${pkgname}
+ fi
+}