putgitrepo typo in larbs.sh fix
config files didn't copy to home folder.
This commit is contained in:
parent
8a45d4f0b9
commit
756b233527
1 changed files with 1 additions and 1 deletions
2
larbs.sh
2
larbs.sh
|
@ -142,7 +142,7 @@ putgitrepo() { # Downloads a gitrepo $1 and places the files in $2 only overwrit
|
|||
dir=$(mktemp -d)
|
||||
[ ! -d "$2" ] && mkdir -p "$2" && chown -R "$name:wheel" "$2"
|
||||
chown -R "$name:wheel" "$dir"
|
||||
sudo -u "$name" git clone -b "$branch" --depth 1 "$1" "$dir/gitrepo" >/dev/null 2>&1 &&
|
||||
sudo -u "$name" git clone -b "$branch" --depth 1 "$1" "$dir/gitrepo" >/dev/null 2>&1
|
||||
sudo -u "$name" cp -rfT "$dir/gitrepo" "$2"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue