diff options
-rw-r--r-- | eclass/games.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index bb1c8ba..3d5b1ff 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -106,10 +106,12 @@ prepgamesdirs() { if [[ -n ${GAMES_SCORES_FILES} ]] then perms=4750 - for dir in "${GAMES_STATEDIR}" "${GAMES_BINDIR}" + for f in ${GAMES_SCORES_FILES} do - GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners -R "${D}/${dir}" + GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners "${D}/${f}" done + GAMES_GROUP=${GAMES_SCORES_GROUP} gamesowners -R \ + "${D}/${GAMES_BINDIR}"i/* fi find "${D}/${GAMES_BINDIR}" -maxdepth 1 -type f -exec chmod ${perms} '{}' \; } |