summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-02-04 14:56:47 +0100
committerMartin Stransky <stransky@redhat.com>2019-02-04 14:56:47 +0100
commita1d5dfd4486faa101cbf3d33f45a9f36ec6f358f (patch)
tree83647205a35564721efdacade9f96443d93ca170 /firefox.spec
parentUse MOZ_ENABLE_WAYLAND to enable Wayland backend (diff)
downloadlibrewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.tar.gz
librewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.tar.bz2
librewolf-fedora-ff-a1d5dfd4486faa101cbf3d33f45a9f36ec6f358f.zip
Updated launcher scripts
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/firefox.spec b/firefox.spec
index b0880bd..a7df11c 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -602,14 +602,14 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
# set up the firefox start script
%if 0%{?wayland_backend_default}
-%global x11_state false
+%global wayland_default true
%else
-%global x11_state true
+%global wayland_default false
%endif
%{__rm} -rf %{buildroot}%{_bindir}/firefox
-%{__sed} -e 's/__DEFAULT_X11__/%{x11_state}/' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
-
+%{__sed} -e 's/__DEFAULT_WAYLAND__/%{wayland_default}/' %{SOURCE21} > %{buildroot}%{_bindir}/firefox
%{__chmod} 755 %{buildroot}%{_bindir}/firefox
+
%if 0%{?wayland_backend_default}
%{__cat} %{SOURCE30} > %{buildroot}%{_bindir}/firefox-x11
%{__chmod} 755 %{buildroot}%{_bindir}/firefox-x11
bgstack15