diff options
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 +} |