diff options
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 0000000000000..4e8ba7071dea7 --- /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 d28283dd80896..0a1ef56544909 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} |