mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-01-18 16:07:59 +00:00
fixed permission error
This commit is contained in:
parent
af044e8fac
commit
ffbe02f034
1 changed files with 0 additions and 2 deletions
|
@ -5,8 +5,6 @@ cd -- "$(dirname -- "$0")"
|
||||||
function install_homebrew_packages() {
|
function install_homebrew_packages() {
|
||||||
local uid
|
local uid
|
||||||
uid=${SUDO_UID:-$(id -u)}
|
uid=${SUDO_UID:-$(id -u)}
|
||||||
sudo --user="#$uid" \
|
|
||||||
mkdir -p /home/linuxbrew/.linuxbrew
|
|
||||||
sudo --user="#$uid" \
|
sudo --user="#$uid" \
|
||||||
NONINTERACTIVE=1 \
|
NONINTERACTIVE=1 \
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue