summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author dsomero2012-09-30 16:53:54 +0200
committer Robby Workman2012-10-01 03:01:07 +0200
commit3ff818906d5cfb499f7c2e58d782ebf7ac9b9103 (patch)
treeafe39a10357a1dc935a4f897504c1e72a18e792d
parentee4e54c41dd583a327bbe828314fa3d2aa87453f (diff)
downloadslackbuilds-3ff818906d5cfb499f7c2e58d782ebf7ac9b9103.tar.gz
network/ike: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--network/ike/doinst.sh3
-rw-r--r--network/ike/ike.SlackBuild2
2 files changed, 4 insertions, 1 deletions
diff --git a/network/ike/doinst.sh b/network/ike/doinst.sh
index aa8fffe5cd..5aec9cdf53 100644
--- a/network/ike/doinst.sh
+++ b/network/ike/doinst.sh
@@ -25,3 +25,6 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.iked.new
config etc/iked.conf.new
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/network/ike/ike.SlackBuild b/network/ike/ike.SlackBuild
index eb2b5ad80c..7608ba3aa4 100644
--- a/network/ike/ike.SlackBuild
+++ b/network/ike/ike.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=ike
VERSION=${VERSION:-2.1.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then