Bug 224231 - app-text/docbook-dsssl-stylesheets can miss dodoc call
Bug#: 224231 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sgml@gentoo.org Reported By: coldwind@gentoo.org
Component: Ebuilds
URL: 
Summary: app-text/docbook-dsssl-stylesheets can miss dodoc call
Keywords:  
Status Whiteboard: 
Opened: 2008-05-30 14:26 0000
Description:   Opened: 2008-05-30 14:26 0000
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 From Gilles Dartiguelongue 2008-07-04 08:56:42 0000 -------
since the fix is trivial, I took the liberty to fix it myself.