Need to remove the Categories line first..
This commit is contained in:
parent
38cede9601
commit
e012dd19dd
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user