From 128f76cf0624fea9da75c1d5fbc20fe14544c8b4 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 30 Sep 2012 10:07:26 -0400 Subject: [PATCH] network/NetworkManager-vpnc: Fixed (Handle desktop file) Signed-off-by: dsomero --- network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild | 2 +- network/NetworkManager-vpnc/doinst.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild index ea0712e262..8f0eb7ad6a 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 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