diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-09-02 14:50:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-09-02 14:50:04 +0200 |
commit | 3b903c5c46287cc6f453b3138842715a467c57fb (patch) | |
tree | 7bab364cf5908a77960f4c2370bf65f0c7278ff2 /db-update | |
parent | df78f6e877325ddfd9569e9704612ee2509791b1 (diff) |
Set correct group after touching the db file
* When writing the db file ensure that it has write permission of the group which owns the parent directory.
* This should make the adjust-permissions cron job obsolete.
Diffstat (limited to 'db-update')
-rwxr-xr-x | db-update | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ for repo in ${repos[@]}; do /usr/bin/repo-add -q "$repo$DBEXT" ${add_pkgs[@]} >/dev/null \ || die "repo-add $repo$DBEXT ${add_pkgs[@]}" popd >/dev/null + set_repo_permission "${repo}" "${pkgarch}" fi done done |