diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 21:15:21 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:04 -0500 |
commit | ff3a0951e42b95b29e7f9ce4db85960a916f0324 (patch) | |
tree | 6776206631d903ee202740b7c514d654325d6796 /misc/mdic | |
parent | c6fd8a5b24bf9f4e4391f0a6a4d1db0886afb036 (diff) | |
download | slackbuilds-ff3a0951e42b95b29e7f9ce4db85960a916f0324.tar.gz |
misc/mdic: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'misc/mdic')
-rw-r--r-- | misc/mdic/doinst.sh | 4 | ||||
-rw-r--r-- | misc/mdic/mdic.SlackBuild | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/misc/mdic/doinst.sh b/misc/mdic/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/misc/mdic/doinst.sh @@ -0,0 +1,4 @@ +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/misc/mdic/mdic.SlackBuild b/misc/mdic/mdic.SlackBuild index d28283dd80..0a1ef56544 100644 --- a/misc/mdic/mdic.SlackBuild +++ b/misc/mdic/mdic.SlackBuild @@ -4,7 +4,7 @@ PRGNAM=mdic VERSION=${VERSION:-0.8.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,6 +71,7 @@ cat $CWD/mdic.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/mdic.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} |