Fix brew repository permissions to make it clean

This commit is contained in:
Leonid Lapshin
2020-11-06 00:33:39 +03:00
parent 76969aa236
commit 45b33107cd

View File

@@ -24,6 +24,10 @@ ENVPATH=${ENVPATH%"\""}
echo "PATH=$ENVPATH" | sudo tee -a /etc/environment
echo "Updated /etc/environment: $(cat /etc/environment)"
# Fix brew repository permissions to make it clean
cd $(brew --prefix)/Homebrew
git reset --hard
# Clean yarn and npm cache
yarn cache clean
npm cache clean --force