diff options
-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 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 |