summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 11:44:22 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:09 -0500
commit9a7162e7ca35875565f341940f99b981ca87ae26 (patch)
treeaa9bc30a35cdc51cf53df2576e264d23bbaf8b11 /office
parentcea506d946ec64a3439613bb739f97d757957cfc (diff)
downloadslackbuilds-9a7162e7ca35875565f341940f99b981ca87ae26.tar.gz
office/verbiste: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office')
-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}