SHA256
3
0
forked from pool/rpm

Accepting request 593953 from home:adamm:branches:Base:System

- %install_info: if we are going to fail, at least fail on install
  not on attempted upgrades or uninstall [bsc#1084997]

OBS-URL: https://build.opensuse.org/request/show/593953
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=456
This commit is contained in:
Dr. Werner Fink 2018-04-06 11:18:21 +00:00 committed by Git OBS Bridge
parent 297b461842
commit 8978f68f61
2 changed files with 7 additions and 4 deletions

View File

@ -222,11 +222,8 @@
# for %post
%install_info(:-:) \
ALL_ARGS=(%{**}) \
NUM_ARGS=${#ALL_ARGS[@]} \
if test -x /sbin/install-info ; then \
if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
/sbin/install-info "${ALL_ARGS[@]}" \
fi \
/sbin/install-info "${ALL_ARGS[@]}" \
fi ;
# for %preun

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 6 10:05:18 UTC 2018 - adam.majer@suse.de
- %install_info: if we are going to fail, at least fail on install
not on attempted upgrades or uninstall [bsc#1084997]
-------------------------------------------------------------------
Tue Mar 27 14:31:28 CEST 2018 - mls@suse.de