diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:46:39 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-15 15:46:39 (GMT) |
commit | b265dfd76462e392f940145658895b338705b78e (patch) | |
tree | c6769965bfdb332906fce13e86ddbfd73be3b3bb /abs/extra/libcanberra/libcanberra.install | |
parent | 0d1d2acadf0691e505f45e4725ce192fedba14d2 (diff) | |
download | linhes_pkgbuild-b265dfd76462e392f940145658895b338705b78e.zip linhes_pkgbuild-b265dfd76462e392f940145658895b338705b78e.tar.gz linhes_pkgbuild-b265dfd76462e392f940145658895b338705b78e.tar.bz2 |
libcanberra: .28
-new
Diffstat (limited to 'abs/extra/libcanberra/libcanberra.install')
-rw-r--r-- | abs/extra/libcanberra/libcanberra.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/libcanberra/libcanberra.install b/abs/extra/libcanberra/libcanberra.install new file mode 100644 index 0000000..7f50121 --- /dev/null +++ b/abs/extra/libcanberra/libcanberra.install @@ -0,0 +1,23 @@ +pkgname=libcanberra + +post_install() { + if [ -x usr/sbin/gconfpkg ]; then + usr/sbin/gconfpkg --install ${pkgname} + fi +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + pre_remove + fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + if [ -x usr/sbin/gconfpkg ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} |