From 3a2d5c471fff5491856726fa4c318b2237a674a8 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 18:58:15 -0400 Subject: ham/fldigi: Fixed (Handle desktop file) Signed-off-by: dsomero --- ham/fldigi/doinst.sh | 4 ++++ ham/fldigi/fldigi.SlackBuild | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ham/fldigi/doinst.sh (limited to 'ham/fldigi') 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} -- cgit v1.2.3