diff options
author | ozgursarier | 2015-11-14 08:02:05 +0200 |
---|---|---|
committer | ozgursarier | 2015-11-14 08:02:05 +0200 |
commit | d1ba65142d9f15ce31143984e507d8b7926e5d68 (patch) | |
tree | b4c3645964d14caae7467abf99ade290fff32be5 /istanbul.install | |
download | aur-istanbul.tar.gz |
Initial import
Diffstat (limited to 'istanbul.install')
-rw-r--r-- | istanbul.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/istanbul.install b/istanbul.install new file mode 100644 index 000000000000..2b89eec6e489 --- /dev/null +++ b/istanbul.install @@ -0,0 +1,18 @@ +post_install() { + export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) + gconftool-2 --makefile-install-rule usr/share/gconf/schemas/istanbul.schemas >/dev/null +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + schemas=$(pacman -Ql istanbul | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }') + export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) + gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null +} |