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.