diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-27 20:49:06 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:37 -0500 |
commit | ef9971fac93615e6ec1c70a4719f7ef7e16539fe (patch) | |
tree | 8f58dc3aae5202d92442794e7035c77d5daea0a3 | |
parent | f7a63d3ef976ae947d9ff4c4623e73d0b2b204c3 (diff) |
audio/pd: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | audio/pd/doinst.sh | 3 | ||||
-rw-r--r-- | audio/pd/pd.SlackBuild | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/audio/pd/doinst.sh b/audio/pd/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /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 ec185d7e6f58e..a97a04bc29bac 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} |