- ignore errors for install-info calls in post scripts,

otherwise installing with "--excludedocs" fails

Rev SUSE:SLE-15:GA/4 Md5 6da31857f8e4140c4de900e59914dd73 2017-09-22 14:15:04 sbehlert None
This commit is contained in:
OBS User sbehlert 2017-09-22 14:15:04 +00:00 committed by Git OBS Bridge
commit 49adab13b0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 18 14:42:48 CEST 2017 - ro@suse.de
- ignore errors for install-info calls in post scripts,
otherwise installing with "--excludedocs" fails
-------------------------------------------------------------------
Tue Sep 5 15:33:16 UTC 2017 - jack@suse.cz

View File

@ -281,14 +281,14 @@ done
%post
/sbin/ldconfig
%if ! %{build_mini}
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz || :
%{?regenerate_initrd_post}
%endif
%postun
/sbin/ldconfig
%if ! %{build_mini}
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz || :
%{?regenerate_initrd_post}
%endif