RPM packaging: update tdenetwork

pull/3/head
François Andriot 10 years ago
parent 134f338a7c
commit 7cd518e9e0

@ -1286,9 +1286,9 @@ EOF
# Icons from TDE Control Center should only be displayed in TDE
for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
if grep -q "^Categories=.*X-KDE-settings" "${i}"; then
if ! grep -q "OnlyShowIn=KDE" "${i}" ; then
echo "OnlyShowIn=KDE;" >>"${i}"
if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
echo "OnlyShowIn=TDE;" >>"${i}"
fi
fi
done

Loading…
Cancel
Save