forked from mirrored-repos/manjaro-tools
[util-*] use given primary group of user in chown cmd
- don't assume that the primary group of a user is named the same as the user itself - fixes https://github.com/manjaro/manjaro-tools/issues/248
This commit is contained in:
parent
6c8dc34b7f
commit
ec372237bd
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ eval_build_list "${list_dir_pkg}" "${build_list_pkg}"
|
|||
|
||||
prepare_dir "${pkg_dir}"
|
||||
|
||||
chown ${OWNER}:${OWNER} "${pkg_dir}"
|
||||
chown ${OWNER}:$(id --group ${OWNER}) "${pkg_dir}"
|
||||
|
||||
init_base_devel
|
||||
|
||||
|
|
Loading…
Reference in a new issue