summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 11:55:53 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:09 -0500
commit1e1c254cd28c2843af59afbc75b89b13cf60b7d0 (patch)
tree79dad80a30a25cb439bb4dd02ea4fb544c9fcd52 /system
parent4e363654ec9a8fbe1308f18c826be198a2c2b43c (diff)
downloadslackbuilds-1e1c254cd28c2843af59afbc75b89b13cf60b7d0.tar.gz
system/byobu: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/byobu/byobu.SlackBuild3
-rw-r--r--system/byobu/doinst.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/system/byobu/byobu.SlackBuild b/system/byobu/byobu.SlackBuild
index fecce43c4e..6164d2cf10 100644
--- a/system/byobu/byobu.SlackBuild
+++ b/system/byobu/byobu.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=byobu
VERSION=${VERSION:-2.82}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -93,6 +93,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
chown -R root:root .
diff --git a/system/byobu/doinst.sh b/system/byobu/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/system/byobu/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