Red Hat Bugzilla – Bug 220533
units: non-failsafe install-info usage, info files removed from index on update
Last modified: 2007-11-30 17:11:52 EST
units's install-info usage is not failsafe, see
Additionally, the install-info --delete in %preun should be wrapped inside "if
[ $1 -eq 0 ]" to prevent the info files from being removed from the index on
Fixed in -2.
Florian La Roche
Created attachment 146317 [details]
Oops, -2 wraps %post inside [ "$1" = 0 ], that can never happen and should be
in %preun instead, fix attached.
In case you're wondering, the "Dpm" in the patch description in comment 2 is
just an odd way of saying "fix info removal from index" ;) (accidental Enter hit
while looking for backspace)
fixed previous fix