From 756b2335272918f42b836687c5df69fa1c315969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= <49817589+mikejbc@users.noreply.github.com> Date: Sun, 8 Mar 2020 23:52:22 +0100 Subject: [PATCH] putgitrepo typo in larbs.sh fix config files didn't copy to home folder. --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 2dbbfa5..77f696b 100644 --- a/larbs.sh +++ b/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" }