aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgksu/doinst.sh
diff options
context:
space:
mode:
authorStylianos Tsampas <ztsampas@otenet.gr>2010-05-12 23:30:30 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:30:30 +0200
commitadd74f2254e14d9fbe933646738bf93872b69290 (patch)
treeba5f0a21b2256077e5256fefb504e6ed3eecccba /libraries/libgksu/doinst.sh
parent91cc7efb0ba9b02f811bff469ff88d34ab716b6a (diff)
libraries/libgksu: Added to 12.2 repository
Diffstat (limited to 'libraries/libgksu/doinst.sh')
-rw-r--r--libraries/libgksu/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/libgksu/doinst.sh b/libraries/libgksu/doinst.sh
new file mode 100644
index 000000000000..61a1ca52d917
--- /dev/null
+++ b/libraries/libgksu/doinst.sh
@@ -0,0 +1,13 @@
+GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/gksu.schemas \
+ 1>/dev/null
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database /usr/share/mime &> /dev/null
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database &> /dev/null
+fi
+