summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-09-02 09:54:57 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-02 10:19:47 +0100
commit7338176397cd912379c37797a95648603a690744 (patch)
tree1533ac1f46f3a99998e85d91976f9d17db958b4d
parent531b95f97947976d581f80cab7032200f433e2c3 (diff)
downloadslackbuilds-7338176397cd912379c37797a95648603a690744.tar.gz
desktop/slackware-xdg-menu: Fixed update-menus problem.
See slackbuilds-users mailing list, Fri Sep 1 18:08:39 UTC 2017. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild b/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
index 5db28ca50a..bfae73062f 100644
--- a/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
+++ b/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
@@ -69,6 +69,9 @@ cp $CWD/desktop-directories/* $PKG/usr/share/desktop-directories/
mkdir -p $PKG/etc/xdg/menus/
cat $CWD/xdg-menu/applications.menu > $PKG/etc/xdg/menus/applications.menu.new
+# required by /usr/bin/update-menus
+mkdir -p $PKG/var/cache/xdg-menu/
+
mkdir -p $PKG/usr/doc/slackware-xdg-menu-$VERSION
cat $CWD/slackware-xdg-menu.SlackBuild > $PKG/usr/doc/slackware-xdg-menu-$VERSION/slackware-xdg-menu.SlackBuild