summaryrefslogtreecommitdiff
path: root/extra/libgsf/libgsf-gnome.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libgsf/libgsf-gnome.install')
-rw-r--r--extra/libgsf/libgsf-gnome.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/libgsf/libgsf-gnome.install b/extra/libgsf/libgsf-gnome.install
new file mode 100644
index 000000000..60f62ff35
--- /dev/null
+++ b/extra/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
+}