diff --git a/larbs.sh b/larbs.sh index a66bf48..32ac57f 100644 --- a/larbs.sh +++ b/larbs.sh @@ -117,7 +117,7 @@ putgitrepo() { # Downlods a gitrepo $1 and places the files in $2 only overwriti chown -R "$name":wheel "$dir" sudo -u "$name" git clone --depth 1 "$1" "$dir/gitrepo" >/dev/null 2>&1 && sudo -u "$name" mkdir -p "$2" && - sudo -u "$name" cp -rT "$dir"/gitrepo "$2" + sudo -u "$name" cp -rfT "$dir"/gitrepo "$2" } serviceinit() { for service in "$@"; do