Bug 219400 - lilypond: non-failsafe install-info usage
Summary: lilypond: non-failsafe install-info usage
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lilypond
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Quentin Spencer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE7Target
TreeView+ depends on / blocked
 
Reported: 2006-12-12 22:20 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-12-23 16:21:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.