aboutsummaryrefslogtreecommitdiff
path: root/network
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
parenta97eb56a1111b7174ab571a2a893e48324ef5e28 (diff)
network/NetworkManager-vpnc: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild2
-rw-r--r--network/NetworkManager-vpnc/doinst.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
index ea0712e262bd0..8f0eb7ad6a3e4 100644
--- a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
+++ b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=NetworkManager-vpnc
VERSION=${VERSION:-0.9.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/network/NetworkManager-vpnc/doinst.sh b/network/NetworkManager-vpnc/doinst.sh
index 30eb690936b52..1f8ff67dedb29 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