aboutsummaryrefslogtreecommitdiff
path: root/multimedia/MP3Diags
diff options
context:
space:
mode:
authorDominik Drobek <dominik.drobek@o2.pl>2016-11-02 20:36:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-02 22:37:50 +0700
commit938af34f64412dd844ae3ef512ae2669743c05bf (patch)
treeb22c50578337a8cf4b11334235cc2c0142412302 /multimedia/MP3Diags
parent90a0db1ebe10fb02a380f07943bec72489934da9 (diff)
multimedia/MP3Diags: Add missing doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/MP3Diags')
-rw-r--r--multimedia/MP3Diags/MP3Diags.SlackBuild1
-rw-r--r--multimedia/MP3Diags/doinst.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/MP3Diags/MP3Diags.SlackBuild b/multimedia/MP3Diags/MP3Diags.SlackBuild
index 7110a2f72fe58..a9c53ad3d36f8 100644
--- a/multimedia/MP3Diags/MP3Diags.SlackBuild
+++ b/multimedia/MP3Diags/MP3Diags.SlackBuild
@@ -95,6 +95,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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}
diff --git a/multimedia/MP3Diags/doinst.sh b/multimedia/MP3Diags/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/multimedia/MP3Diags/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi