summaryrefslogtreecommitdiffstats
path: root/abs/core/libgsf/libgsf-gnome.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-19 03:31:16 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-19 03:31:16 (GMT)
commit673c0286e1723dc02b63cc303f2666f6aceadcad (patch)
treea7a12cca42cd78b4912cafa380969d83fbeae3e2 /abs/core/libgsf/libgsf-gnome.install
parentc86a2a8639d85999e4cd59095ca8a8b32f04f327 (diff)
downloadlinhes_pkgbuild-673c0286e1723dc02b63cc303f2666f6aceadcad.zip
linhes_pkgbuild-673c0286e1723dc02b63cc303f2666f6aceadcad.tar.gz
linhes_pkgbuild-673c0286e1723dc02b63cc303f2666f6aceadcad.tar.bz2
libgsf: update
Diffstat (limited to 'abs/core/libgsf/libgsf-gnome.install')
-rw-r--r--abs/core/libgsf/libgsf-gnome.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core/libgsf/libgsf-gnome.install b/abs/core/libgsf/libgsf-gnome.install
new file mode 100644
index 0000000..60f62ff
--- /dev/null
+++ b/abs/core/libgsf/libgsf-gnome.install
@@ -0,0 +1,19 @@
+pkgname=libgsf-gnome
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}