summaryrefslogtreecommitdiff
path: root/network/NetworkManager-vpnc/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 10:07:26 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:06 -0500
commit128f76cf0624fea9da75c1d5fbc20fe14544c8b4 (patch)
tree3f3cb6862fb38455cb1026d5e84cfeaaca1f7598 /network/NetworkManager-vpnc/doinst.sh
parenta97eb56a1111b7174ab571a2a893e48324ef5e28 (diff)
downloadslackbuilds-128f76cf0624fea9da75c1d5fbc20fe14544c8b4.tar.gz
network/NetworkManager-vpnc: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/NetworkManager-vpnc/doinst.sh')
-rw-r--r--network/NetworkManager-vpnc/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/NetworkManager-vpnc/doinst.sh b/network/NetworkManager-vpnc/doinst.sh
index 30eb690936..1f8ff67ded 100644
--- a/network/NetworkManager-vpnc/doinst.sh
+++ b/network/NetworkManager-vpnc/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1