diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-10-25 16:00:41 +0100 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-10-25 16:00:41 +0100 |
commit | 7c7d233c1dcd1d40ccf813846c3265ca260fd4d0 (patch) | |
tree | e7b07b3788163aa766651b1d78ab965aa0541a1d /gnome/gedit/post-install | |
parent | b68dea4454384f35b9e53835d0350b399d6902c4 (diff) | |
download | nutyx-extra-7c7d233c1dcd1d40ccf813846c3265ca260fd4d0.tar.gz nutyx-extra-7c7d233c1dcd1d40ccf813846c3265ca260fd4d0.tar.bz2 nutyx-extra-7c7d233c1dcd1d40ccf813846c3265ca260fd4d0.tar.xz nutyx-extra-7c7d233c1dcd1d40ccf813846c3265ca260fd4d0.zip |
Ajout de gedit#2.28.0-1
Diffstat (limited to 'gnome/gedit/post-install')
-rwxr-xr-x | gnome/gedit/post-install | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnome/gedit/post-install b/gnome/gedit/post-install new file mode 100755 index 000000000..32a64803b --- /dev/null +++ b/gnome/gedit/post-install @@ -0,0 +1,32 @@ +#!/bin/sh + +port=gedit + +# 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 + |