summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 20:49:06 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:37 -0500
commitef9971fac93615e6ec1c70a4719f7ef7e16539fe (patch)
tree8f58dc3aae5202d92442794e7035c77d5daea0a3
parentf7a63d3ef976ae947d9ff4c4623e73d0b2b204c3 (diff)
downloadslackbuilds-ef9971fac93615e6ec1c70a4719f7ef7e16539fe.tar.gz
audio/pd: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--audio/pd/doinst.sh3
-rw-r--r--audio/pd/pd.SlackBuild1
2 files changed, 4 insertions, 0 deletions
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}