diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-12-12 22:10:43 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-12-12 22:22:29 +0100 |
commit | 0480c9a3d6f398ca0b8fafe3a570711401b14a9f (patch) | |
tree | b245fb8c1e8927da356fc4a2a0a1373828779c0c /sys-apps | |
parent | x11-drivers/xf86-input-libinput: Version bump to 0.23.0 (diff) | |
download | gentoo-0480c9a3d6f398ca0b8fafe3a570711401b14a9f.tar.gz gentoo-0480c9a3d6f398ca0b8fafe3a570711401b14a9f.tar.bz2 gentoo-0480c9a3d6f398ca0b8fafe3a570711401b14a9f.zip |
sys-apps/man-db: Revbump so everbody gets the permission changes.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/man-db/man-db-2.7.6.1-r1.ebuild (renamed from sys-apps/man-db/man-db-2.7.6.1.ebuild) | 7 |
1 files 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 index 52508c0542c4..0f4cb33a17f8 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 } |