Skip to content

Commit

Permalink
mate-base/mate-menus: Finish cleaneup of #633334
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/633334
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman <[email protected]>
  • Loading branch information
NP-Hardass committed Apr 7, 2020
1 parent a5590b6 commit 3f39774
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions mate-base/mate-menus/files/10-xdg-menu-mate-r1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

if [ -z "$XDG_MENU_PREFIX" ] && \
[ "$XDG_CURRENT_DESKTOP" = "MATE" -o \
"$XDG_SESSION_DESKTOP" = "mate" -o \
"$DESKTOP_SESSION" = "mate" ]
then
export XDG_MENU_PREFIX=mate-
fi
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ src_install() {
mate_src_install

exeinto /etc/X11/xinit/xinitrc.d/
doexe "${FILESDIR}/10-xdg-menu-mate"
newexe "${FILESDIR}/10-xdg-menu-mate-r1" "10-xdg-menu-mate"
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ src_install() {
mate_src_install

exeinto /etc/X11/xinit/xinitrc.d/
doexe "${FILESDIR}/10-xdg-menu-mate"
newexe "${FILESDIR}/10-xdg-menu-mate-r1" "10-xdg-menu-mate"
}

0 comments on commit 3f39774

Please sign in to comment.