From ffbe02f034c23c3929863949c8bc351e5a477192 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 3 Jun 2023 23:36:27 +0900 Subject: [PATCH] fixed permission error --- homebrew/install | 2 -- 1 file changed, 2 deletions(-) diff --git a/homebrew/install b/homebrew/install index 55b4fc8..97ea1c0 100755 --- a/homebrew/install +++ b/homebrew/install @@ -5,8 +5,6 @@ cd -- "$(dirname -- "$0")" function install_homebrew_packages() { local uid uid=${SUDO_UID:-$(id -u)} - sudo --user="#$uid" \ - mkdir -p /home/linuxbrew/.linuxbrew sudo --user="#$uid" \ NONINTERACTIVE=1 \ bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"