summaryrefslogtreecommitdiffstats
path: root/tightvnc
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-09-15 19:55:27 +0000
committer Eric Hameleers <alien@slackware.com>2007-09-15 19:55:27 +0000
commit86d9c4b3e03534a50bec1753dd8e8bcb0105ad2c (patch)
treed8a67a3a2b6be37477a34311d3efe0dca206a367 /tightvnc
parent7b2d7aa639f77a467760ec00759e06588790256b (diff)
downloadasb-86d9c4b3e03534a50bec1753dd8e8bcb0105ad2c.tar.gz
asb-86d9c4b3e03534a50bec1753dd8e8bcb0105ad2c.tar.xz
Add update-desktop-database
Diffstat (limited to 'tightvnc')
-rwxr-xr-xtightvnc/build/tightvnc.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/tightvnc/build/tightvnc.SlackBuild b/tightvnc/build/tightvnc.SlackBuild
index 62f7bd1e..c7cf72b2 100755
--- a/tightvnc/build/tightvnc.SlackBuild
+++ b/tightvnc/build/tightvnc.SlackBuild
@@ -226,6 +226,12 @@ if ! grep "rc.vncservers" etc/rc.d/rc.local 1>/dev/null 2>&1 ; then
_EOM_
fi
+# Update the desktop database:
+if [ -x usr/bin/update-desktop-database ]; then
+ chroot . /usr/bin/update-desktop-database /usr/share/applications > /dev/null
+2>&1
+fi
+
EOINS
# Add documentation: