Bug 219400

Summary: lilypond: non-failsafe install-info usage
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: lilypondAssignee: Quentin Spencer <qspencer>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---Keywords: EasyFix, Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-23 16:21:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 213321    

Description Ville Skyttä 2006-12-12 22:20:13 UTC
lilypond's install-info invocations are not failsafe against excludedocs or
read-only-netsharedpath-/usr/share installations; appending "|| :" to the
invocations in %post and %preun would fix it.

Additionally, if you like, there's no need to explicitly specify the .gz
extensions, install-info works with plain *.info.

More info: http://fedoraproject.org/wiki/Packaging/ScriptletSnippets

Comment 1 Quentin Spencer 2006-12-15 20:23:59 UTC
This is fixed in the 2.10.2-2 builds.

Comment 2 Ville Skyttä 2006-12-16 16:04:25 UTC
Actually, the removals in %preun should be wrapped inside "if [ $1 -eq 0 ] ;
then remove ; fi" - otherwise the info pages will be removed from the index on
package upgrades.  See the scriptletsnippets page from initial comment for more
info.

Comment 3 Quentin Spencer 2006-12-23 16:21:15 UTC
OK, I'm adding that in the 2.10.4-1 builds.