Bug: https://bugs.gentoo.org/633334
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
--- /dev/null
+#!/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
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"
}
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"
}