From ff3a0951e42b95b29e7f9ce4db85960a916f0324 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 21:15:21 -0400 Subject: misc/mdic: Fixed (Handle desktop file) Signed-off-by: dsomero --- misc/mdic/doinst.sh | 4 ++++ misc/mdic/mdic.SlackBuild | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 misc/mdic/doinst.sh (limited to 'misc') 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} -- cgit v1.2.3