From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92A701395E2 for ; Tue, 13 Dec 2016 01:42:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B48E321C097; Mon, 12 Dec 2016 21:22:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92E7B21C097 for ; Mon, 12 Dec 2016 21:22:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D10A341229 for ; Mon, 12 Dec 2016 21:22:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DA29494 for ; Mon, 12 Dec 2016 21:22:34 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1481577749.0480c9a3d6f398ca0b8fafe3a570711401b14a9f.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-db/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/man-db/man-db-2.7.6.1-r1.ebuild sys-apps/man-db/man-db-2.7.6.1.ebuild X-VCS-Directories: sys-apps/man-db/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0480c9a3d6f398ca0b8fafe3a570711401b14a9f X-VCS-Branch: master Date: Mon, 12 Dec 2016 21:22:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 35af4a73-d78b-4acb-ab8d-10d76f0452da X-Archives-Hash: 4e886dc232caf7671dcb65b89fc14453 commit: 0480c9a3d6f398ca0b8fafe3a570711401b14a9f Author: Lars Wendler gentoo org> AuthorDate: Mon Dec 12 21:10:43 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Dec 12 21:22:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0480c9a3 sys-apps/man-db: Revbump so everbody gets the permission changes. Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../man-db/{man-db-2.7.6.1.ebuild => man-db-2.7.6.1-r1.ebuild} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys-apps/man-db/man-db-2.7.6.1.ebuild b/sys-apps/man-db/man-db-2.7.6.1-r1.ebuild similarity index 92% rename from sys-apps/man-db/man-db-2.7.6.1.ebuild rename to sys-apps/man-db/man-db-2.7.6.1-r1.ebuild index 52508c0..0f4cb33 100644 --- a/sys-apps/man-db/man-db-2.7.6.1.ebuild +++ b/sys-apps/man-db/man-db-2.7.6.1-r1.ebuild @@ -80,11 +80,10 @@ pkg_preinst() { einfo "Cleaning ${EROOT}var/cache/man from sys-apps/man" find "${EROOT}"var/cache/man -type f '!' '(' -name index.bt -o -name index.db ')' -delete fi - if [[ ! -g ${EROOT}var/cache/man ]] ; then - einfo "Resetting permissions on ${EROOT}var/cache/man" #447944 - mkdir -p "${EROOT}var/cache/man" + if [[ -g ${EROOT}var/cache/man ]] ; then + einfo "Resetting permissions on ${EROOT}var/cache/man" chown -R man:man "${EROOT}"var/cache/man - find "${EROOT}"var/cache/man -type d -exec chmod 0755 {} + + find "${EROOT}"var/cache/man -type d -exec chmod g-s {} + fi }