move disable-features and enable-features flags to config file

This commit is contained in:
Than Ngo 2023-04-05 15:28:49 +02:00
parent 40f61d8367
commit 8d7d7962cb
1 changed files with 0 additions and 2 deletions

View File

@ -1300,8 +1300,6 @@ cp -a %{SOURCE3} %{buildroot}%{chromium_path}/%{chromium_browser_channel}.sh
%if ! %{use_vaapi}
# remove vaapi flags
grep -v features %{SOURCE3} > %{buildroot}%{chromium_path}/%{chromium_browser_channel}.sh
chmod 755 %{buildroot}%{chromium_path}/%{chromium_browser_channel}.sh
echo "# system wide chromium flags" > %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
%endif