From: Ulrich Mueller Date: Sun, 5 Sep 2010 11:50:09 +0000 (+0200) Subject: dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead. X-Git-Tag: v2.2_rc76~38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a27551650f41325074ec03a7a4cad756e24dc47;p=portage.git dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead. --- diff --git a/bin/ebuild-helpers/4/dodoc b/bin/ebuild-helpers/4/dodoc index c9068a8b5..91e7e044f 100755 --- a/bin/ebuild-helpers/4/dodoc +++ b/bin/ebuild-helpers/4/dodoc @@ -37,8 +37,6 @@ for x in "$@" ; do elif [ -s "${x}" ] ; then install -m0644 "${x}" "${dir}" - ecompress --queue "${dir}/${x##*/}" - elif [ ! -e "${x}" ] ; then echo "!!! ${0##*/}: $x does not exist" 1>&2 ((ret|=1)) diff --git a/bin/ebuild-helpers/4/prepalldocs b/bin/ebuild-helpers/4/prepalldocs new file mode 120000 index 000000000..1a6b57a39 --- /dev/null +++ b/bin/ebuild-helpers/4/prepalldocs @@ -0,0 +1 @@ +../../banned-helper \ No newline at end of file diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc index 99410ea85..29b690112 100755 --- a/bin/ebuild-helpers/dodoc +++ b/bin/ebuild-helpers/dodoc @@ -18,7 +18,7 @@ ret=0 for x in "$@" ; do if [ -s "${x}" ] ; then install -m0644 "${x}" "${dir}" - hasq "${EAPI}" 0 1 2 3 && ecompress --queue "${dir}/${x##*/}" + ecompress --queue "${dir}/${x##*/}" elif [ ! -e "${x}" ] ; then echo "!!! ${0##*/}: $x does not exist" 1>&2 ((ret|=1)) diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs index 3b16f9726..fdc735d6f 100755 --- a/bin/ebuild-helpers/prepalldocs +++ b/bin/ebuild-helpers/prepalldocs @@ -4,11 +4,6 @@ source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh -if ! hasq "${EAPI}" 0 1 2 3; then - eqawarn "QA Notice: Deprecated call to 'prepalldocs'" - exit 0 -fi - if [[ -n $1 ]] ; then vecho "${0##*/}: invalid usage; takes no arguments" 1>&2 fi