summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0000000000..4e8ba7071d
--- /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 2d6c249029..8e4a00bb07 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}