summaryrefslogtreecommitdiffstats
path: root/system/gksu/doinst.sh
diff options
context:
space:
mode:
author Stylianos Tsampas <ztsampas@otenet.gr>2010-05-12 23:33:36 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-12 23:33:36 +0200
commitcecb7021603b703e03eec4537aa98c7b43140da5 (patch)
tree87be894ae73d30caad1a139e94c666c673356653 /system/gksu/doinst.sh
parentc32fe7705dbe159ba2c40dbae0bd5a0f4ecfe412 (diff)
downloadslackbuilds-cecb7021603b703e03eec4537aa98c7b43140da5.tar.gz
slackbuilds-cecb7021603b703e03eec4537aa98c7b43140da5.tar.xz
system/gksu: Added to 12.2 repository
Diffstat (limited to 'system/gksu/doinst.sh')
-rw-r--r--system/gksu/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/gksu/doinst.sh b/system/gksu/doinst.sh
new file mode 100644
index 0000000000..dc3c6f6d7a
--- /dev/null
+++ b/system/gksu/doinst.sh
@@ -0,0 +1,8 @@
+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
+