summaryrefslogtreecommitdiff
path: root/distro/archlinux/libmateweather.install
diff options
context:
space:
mode:
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
+}