diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-30 10:07:26 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:06 -0500 |
commit | 128f76cf0624fea9da75c1d5fbc20fe14544c8b4 (patch) | |
tree | 3f3cb6862fb38455cb1026d5e84cfeaaca1f7598 | |
parent | a97eb56a1111b7174ab571a2a893e48324ef5e28 (diff) |
network/NetworkManager-vpnc: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild | 2 | ||||
-rw-r--r-- | network/NetworkManager-vpnc/doinst.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild index ea0712e262bd..8f0eb7ad6a3e 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 30eb690936b5..1f8ff67dedb2 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 |