diff options
author | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
commit | fe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch) | |
tree | 9881bf77df7572844707cc7c50bd8ca6b5a97076 /distro/archlinux/libmateweather.install | |
download | libmateweather-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.install | 19 |
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 +} |