summaryrefslogtreecommitdiffstats
path: root/gnome/file-roller/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-25 16:07:00 +0100
committerThierry N <thierryn1 at hispeed dot ch>2009-10-25 16:07:00 +0100
commit36ce63a2276fa5d4cb443305c320b5e680580d0e (patch)
treee44327a30b60bff29475e06fab93b411fd8df97b /gnome/file-roller/post-install
parent7c7d233c1dcd1d40ccf813846c3265ca260fd4d0 (diff)
downloadnutyx-extra-36ce63a2276fa5d4cb443305c320b5e680580d0e.tar.gz
nutyx-extra-36ce63a2276fa5d4cb443305c320b5e680580d0e.tar.bz2
nutyx-extra-36ce63a2276fa5d4cb443305c320b5e680580d0e.tar.xz
nutyx-extra-36ce63a2276fa5d4cb443305c320b5e680580d0e.zip
Ajout de de file-roller#2.28.1-1
Diffstat (limited to 'gnome/file-roller/post-install')
-rwxr-xr-xgnome/file-roller/post-install31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnome/file-roller/post-install b/gnome/file-roller/post-install
new file mode 100755
index 000000000..fc036e43e
--- /dev/null
+++ b/gnome/file-roller/post-install
@@ -0,0 +1,31 @@
+#!/bin/sh
+port=file-roller
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+ $GNOME_PREFIX/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
+done
+
+# reload gconf caches
+if [ ! -z "`pidof gconfd-2`" ]
+then
+ killall -HUP gconfd-2 > /dev/null
+fi
+
+# scrolls
+SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"
+
+for SCROLL in $SCROLLS
+do
+ /usr/bin/scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
+done
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file
+