jlec 15/06/15 19:09:28 Modified: ChangeLog intel-sdp.eclass Log: Don't install uninstall informations, bug 551638; make use of path_exists()
Revision Changes Path 1.1664 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1664&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1664&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1663&r2=1.1664 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1663 retrieving revision 1.1664 diff -u -r1.1663 -r1.1664 --- ChangeLog 15 Jun 2015 14:04:44 -0000 1.1663 +++ ChangeLog 15 Jun 2015 19:09:28 -0000 1.1664 @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1663 2015/06/15 14:04:44 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1664 2015/06/15 19:09:28 jlec Exp $ + + 15 Jun 2015; Justin Lecher <[email protected]> intel-sdp.eclass: + Don't install uninstall informations, bug 551638; make use of path_exists() 15 Jun 2015; Michael Palimaka <[email protected]> kde4-base.eclass: Fix SRC_URI for 4.14.3 1.22 eclass/intel-sdp.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?rev=1.22&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?rev=1.22&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?r1=1.21&r2=1.22 Index: intel-sdp.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- intel-sdp.eclass 4 Jun 2015 10:36:27 -0000 1.21 +++ intel-sdp.eclass 15 Jun 2015 19:09:28 -0000 1.22 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.21 2015/06/04 10:36:27 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.22 2015/06/15 19:09:28 jlec Exp $ # @ECLASS: intel-sdp.eclass # @MAINTAINER: @@ -416,7 +416,13 @@ # @DESCRIPTION: # Install everything intel-sdp_src_install() { - if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then + if path_exists "${INTEL_SDP_DIR}"/uninstall*; then + ebegin "Cleaning out uninstall information" + find "${INTEL_SDP_DIR}"/uninstall* -delete || die + eend + fi + + if path_exists "${INTEL_SDP_DIR}"/Documentation; then dodoc -r "${INTEL_SDP_DIR}"/Documentation/* ebegin "Cleaning out documentation" @@ -424,7 +430,7 @@ eend fi - if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then + if path_exists "${INTEL_SDP_DIR}"/Samples; then if use examples ; then insinto /usr/share/${P}/examples/ doins -r "${INTEL_SDP_DIR}"/Samples/* @@ -434,7 +440,7 @@ eend fi - if [[ -d "${INTEL_SDP_DIR}"/eclipse_support ]]; then + if path_exists "${INTEL_SDP_DIR}"/eclipse_support; then if has eclipse ${IUSE} && use eclipse; then _isdp_link_eclipse_plugins else @@ -444,7 +450,7 @@ fi fi - if [[ -d "${INTEL_SDP_DIR}"/man ]]; then + if path_exists "${INTEL_SDP_DIR}"/man; then path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \ doman "${INTEL_SDP_DIR}"/man/en_US/man1/* path_exists "${INTEL_SDP_DIR}"/man/man1/* && \
