From ef9971fac93615e6ec1c70a4719f7ef7e16539fe Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 20:49:06 -0400 Subject: audio/pd: Fixed (Handle desktop file) Signed-off-by: dsomero --- audio/pd/doinst.sh | 3 +++ audio/pd/pd.SlackBuild | 1 + 2 files changed, 4 insertions(+) create mode 100644 audio/pd/doinst.sh diff --git a/audio/pd/doinst.sh b/audio/pd/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/audio/pd/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 diff --git a/audio/pd/pd.SlackBuild b/audio/pd/pd.SlackBuild index ec185d7e6f..a97a04bc29 100644 --- a/audio/pd/pd.SlackBuild +++ b/audio/pd/pd.SlackBuild @@ -103,6 +103,7 @@ ln -s /usr/lib/pd/doc/ $PKG/usr/doc/$PRGNAM-$VERSION/docs 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