summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/verbiste/doinst.sh3
-rw-r--r--office/verbiste/verbiste.SlackBuild3
2 files changed, 5 insertions, 1 deletions
diff --git a/office/verbiste/doinst.sh b/office/verbiste/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/office/verbiste/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/office/verbiste/verbiste.SlackBuild b/office/verbiste/verbiste.SlackBuild
index e07e2343a5..fc91e8c0e7 100644
--- a/office/verbiste/verbiste.SlackBuild
+++ b/office/verbiste/verbiste.SlackBuild
@@ -11,7 +11,7 @@
PRGNAM=verbiste
VERSION=${VERSION:-0.1.33}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -76,6 +76,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
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}