summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7110a2f72f..a9c53ad3d3 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 0000000000..5fb28930db
--- /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