don't run fix-info-dir on uninstall if there is no dir
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
1a43cb5934
commit
dde642cbcb
@ -101,7 +101,7 @@ export ALL_TESTS=yes
|
|||||||
%{_sbindir}/fix-info-dir --create %{_infodir}/dir
|
%{_sbindir}/fix-info-dir --create %{_infodir}/dir
|
||||||
|
|
||||||
%transfiletriggerpostun -n info -- %{_infodir}
|
%transfiletriggerpostun -n info -- %{_infodir}
|
||||||
%{_sbindir}/fix-info-dir --delete %{_infodir}/dir
|
[ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir || :
|
||||||
|
|
||||||
%files -f %{name}.lang -f %{name}_document.lang
|
%files -f %{name}.lang -f %{name}_document.lang
|
||||||
%doc AUTHORS ChangeLog NEWS README TODO
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user