Resolves: #2051925 Fixed sed expression

This commit is contained in:
Jan Horak 2022-02-11 15:39:22 +01:00
parent 0f4eac5eea
commit cabef946e6

View File

@ -1019,7 +1019,7 @@ rm -rf %{_prefix}/lib/debug/lib64/%{name}-devel-*
# Register as an application to be visible in the software center # Register as an application to be visible in the software center
mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
%{__cp} -p comm/mail/branding/%{name}/net.thunderbird.Thunderbird.appdata.xml $RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml %{__cp} -p comm/mail/branding/%{name}/net.thunderbird.Thunderbird.appdata.xml $RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml
sed -i -e 's|<icon .*|<icon type="stock">thunderbird</icon>' "$RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml" sed -i -e 's|<icon .*|<icon type="stock">thunderbird</icon>|' "$RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml"
#=============================================================================== #===============================================================================