aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fecce43c4e39b..6164d2cf1052e 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 0000000000000..5fb28930db0b9
--- /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