summaryrefslogtreecommitdiff
path: root/development/neovim
diff options
context:
space:
mode:
Diffstat (limited to 'development/neovim')
-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}