summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-01-02 23:49:15 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:25 +0700
commit8d5f9798178fc309ff1625879e57f7112ce96622 (patch)
tree1ada0e2479d18f3888af4b0e63d70b509fb2de99
parent3ad83c731ebeccaf43c2e3e21efd3e6570c8b94e (diff)
downloadslackbuilds-8d5f9798178fc309ff1625879e57f7112ce96622.tar.gz
development/neovim: Run update-desktop-database in doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/neovim/doinst.sh3
-rw-r--r--development/neovim/neovim.SlackBuild1
2 files changed, 4 insertions, 0 deletions
diff --git a/development/neovim/doinst.sh b/development/neovim/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/development/neovim/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/development/neovim/neovim.SlackBuild b/development/neovim/neovim.SlackBuild
index df924463a9..36bed8a09c 100644
--- a/development/neovim/neovim.SlackBuild
+++ b/development/neovim/neovim.SlackBuild
@@ -95,6 +95,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.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}