Need to remove the Categories line first..

This commit is contained in:
Tim Waugh 2007-04-03 16:30:31 +00:00
parent 38cede9601
commit e012dd19dd

View File

@ -118,6 +118,7 @@ rm -f %{buildroot}%{_bindir}/foomatic-rip \
mkdir -p %{buildroot}%{_datadir}/applications
echo 'NoDisplay=true' >> %{buildroot}%{_datadir}/hplip/data/hplip.desktop
sed -i -e '/^Categories=/d' %{buildroot}%{_datadir}/hplip/data/hplip.desktop
desktop-file-install --vendor HP \
--dir %{buildroot}%{_datadir}/applications \
--add-category X-Red-Hat-Extra \