diff options
author | zachir <zachir@librem.one> | 2022-08-12 01:04:52 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-08-12 01:04:52 -0500 |
commit | b35b29eec5ac9b51821e7ca4c93119d86a8a018d (patch) | |
tree | b3eb32a1bb7bfe10b862511a851fc6c6bd0ef1f4 | |
parent | 022c3c5efb69525d8d16b02574b0cc2f8e0cb966 (diff) |
zirless: use user group, not wheel, in git directory.
-rw-r--r-- | zirless.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ putgitrepo() { # Downloads a gitrepo $1 and places the files in $2 only overwrit [ -z "$3" ] && branch="master" || branch="$repobranch" dir=$(mktemp -d) [ ! -d "$2" ] && mkdir -p "$2" - chown "$name":wheel "$dir" "$2" + chown "$name":"$name" "$dir" "$2" sudo -u "$name" git clone --recursive -b "$branch" --depth 1 --recurse-submodules "$1" "$dir" >/dev/null 2>&1 sudo -u "$name" cp -rfT "$dir" "$2" } |