From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QtN2N-00054g-AZ for garchives@archives.gentoo.org; Tue, 16 Aug 2011 17:02:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B009B21C1E1; Tue, 16 Aug 2011 17:02:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7C4B221C1DB for ; Tue, 16 Aug 2011 17:02:39 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC3A11B4060 for ; Tue, 16 Aug 2011 17:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 36CC180040 for ; Tue, 16 Aug 2011 17:02:38 +0000 (UTC) From: "Torsten Veller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Torsten Veller" Message-ID: <26f17d4081d7cd3a1b02172cb6a10b17e88754bb.tove@gentoo> Subject: [gentoo-commits] proj/perl-overlay:master commit in: eclass/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: eclass/perl-module.eclass X-VCS-Directories: eclass/ X-VCS-Committer: tove X-VCS-Committer-Name: Torsten Veller X-VCS-Revision: 26f17d4081d7cd3a1b02172cb6a10b17e88754bb Date: Tue, 16 Aug 2011 17:02:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8353095b050c003f6995bd8faf3f04a7 commit: 26f17d4081d7cd3a1b02172cb6a10b17e88754bb Author: Torsten Veller gentoo org> AuthorDate: Sat Aug 13 07:25:50 2011 +0000 Commit: Torsten Veller gentoo org> CommitDate: Sat Aug 13 07:25:50 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3D26f17d40 [sync] perl-module.eclass with ::gentoo --- eclass/perl-module.eclass | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 24a6eec..0af963e 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -371,19 +371,23 @@ perl_link_duallife_scripts() { local i ff if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then for i in "${DUALLIFESCRIPTS[@]}" ; do - alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*" - ff=3D`echo "${EROOT}"/usr/share/man/man1/${i}-${PV}-${P}.1*` + alternatives_auto_makesym "/${i}" "/${i}-[0-9]*" + done + for i in "${DUALLIFEMAN[@]}" ; do + ff=3D`echo "${EROOT}"/${i%.1}-${PV}-${P}.1*` ff=3D${ff##*.1} - alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/sha= re/man/man1/${i}-[0-9]*" + alternatives_auto_makesym "/${i}${ff}" "/${i%.1}-[0-9]*" done else pushd "${ED}" > /dev/null for i in $(find usr/bin -maxdepth 1 -type f 2>/dev/null) ; do mv ${i}{,-${PV}-${P}} || die - DUALLIFESCRIPTS[${#DUALLIFESCRIPTS[*]}]=3D${i##*/} - if [[ -f usr/share/man/man1/${i##*/}.1 ]] ; then - mv usr/share/man/man1/${i##*/}{.1,-${PV}-${P}.1} || die - fi + #DUALLIFESCRIPTS[${#DUALLIFESCRIPTS[*]}]=3D${i##*/} + DUALLIFESCRIPTS[${#DUALLIFESCRIPTS[*]}]=3D${i} + done + for i in $(find usr/share/man/man1 -maxdepth 1 -type f 2>/dev/null) ; = do + mv ${i} ${i%.1}-${PV}-${P}.1 || die + DUALLIFEMAN[${#DUALLIFEMAN[*]}]=3D${i} done popd > /dev/null fi