Fix mismatching " in the launcher script when built for flatpak

This commit is contained in:
Kalev Lember 2019-06-05 11:05:50 +02:00
parent 7edd26f80c
commit f1dfc1369f

View File

@ -669,7 +669,7 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29}
%if 0%{?flatpak}
sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR=$XDG_CACHE_HOME/tmp"|' %{buildroot}%{_bindir}/firefox
sed -i -e 's|%FLATPAK_ENV_VARS%|export TMPDIR="$XDG_CACHE_HOME/tmp"|' %{buildroot}%{_bindir}/firefox
%else
sed -i -e 's|%FLATPAK_ENV_VARS%||' %{buildroot}%{_bindir}/firefox
%endif