diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-30 17:34:36 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-30 17:43:00 +0200 |
commit | f17173196454c9e684737e3896fc4dad87fe7031 (patch) | |
tree | 0fb02a9bb72cce5dc6a9e929274fc55c34ee894e /www-client/firefox/firefox-74.0-r2.ebuild | |
parent | app-cdr/dumpet: add musl fix (diff) | |
download | gentoo-f17173196454c9e684737e3896fc4dad87fe7031.tar.gz gentoo-f17173196454c9e684737e3896fc4dad87fe7031.tar.bz2 gentoo-f17173196454c9e684737e3896fc4dad87fe7031.zip |
www-client/firefox: don't install -x11 shortcut/.desktop file when not needed
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'www-client/firefox/firefox-74.0-r2.ebuild')
-rw-r--r-- | www-client/firefox/firefox-74.0-r2.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www-client/firefox/firefox-74.0-r2.ebuild b/www-client/firefox/firefox-74.0-r2.ebuild index f6e5a2262fa6..2698ac6f81fa 100644 --- a/www-client/firefox/firefox-74.0-r2.ebuild +++ b/www-client/firefox/firefox-74.0-r2.ebuild @@ -781,11 +781,14 @@ PROFILE_EOF newbin "${FILESDIR}"/firefox-wayland.sh firefox-wayland ;; X11) - exec_command='firefox-x11 --name firefox-x11' - if use wayland ; then - # Only needed when there's actually a choice - newbin "${FILESDIR}"/firefox-x11.sh firefox-x11 + if ! use wayland ; then + # Exit loop here because there's no choice so + # we don't need wrapper/.desktop file for X11. + continue fi + + exec_command='firefox-x11 --name firefox-x11' + newbin "${FILESDIR}"/firefox-x11.sh firefox-x11 ;; *) app_name="${name}" |