Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224231 - app-text/docbook-dsssl-stylesheets can miss dodoc call
Summary: app-text/docbook-dsssl-stylesheets can miss dodoc call
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 14:26 UTC by Santiago M. Mola (RETIRED)
Modified: 2008-07-04 08:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2008-05-30 14:26:51 UTC
if [ -d /usr/share/sgml/stylesheets/dsssl/docbook ] &&
                [ ! -L /usr/share/sgml/stylesheets/dsssl/docbook ]
        then
                ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to"
                ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
                ewarn "as directory already exists there.  Will assume you know"
                ewarn "what you're doing."
                return 0
        fi

        dosym /usr/share/sgml/docbook/dsssl-stylesheets-${PV} \
                /usr/share/sgml/stylesheets/dsssl/docbook

        dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew
-------------------------------------------------------------------

When the condition is triggered, it exits the src_install phase without installing docs.

I think you should remove the return call, and just do the dosym when the condition is false.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-04 08:56:42 UTC
since the fix is trivial, I took the liberty to fix it myself.