aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 18:58:15 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:03 -0500
commit3a2d5c471fff5491856726fa4c318b2237a674a8 (patch)
treed6b705c8932fc7a31fb3cc63e76f18c8062ce09f
parentaa6a7a00a8634267a9e6be07b5253f38fdf4b973 (diff)
ham/fldigi: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--ham/fldigi/doinst.sh4
-rw-r--r--ham/fldigi/fldigi.SlackBuild3
2 files changed, 6 insertions, 1 deletions
diff --git a/ham/fldigi/doinst.sh b/ham/fldigi/doinst.sh
new file mode 100644
index 0000000000000..4e8ba7071dea7
--- /dev/null
+++ b/ham/fldigi/doinst.sh
@@ -0,0 +1,4 @@
+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/ham/fldigi/fldigi.SlackBuild b/ham/fldigi/fldigi.SlackBuild
index 2d6c249029adc..8e4a00bb07391 100644
--- a/ham/fldigi/fldigi.SlackBuild
+++ b/ham/fldigi/fldigi.SlackBuild
@@ -18,7 +18,7 @@
PRGNAM=fldigi
VERSION=${VERSION:-3.21.49}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:_SBo}
if [ -z "$ARCH" ]; then
@@ -92,6 +92,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}