Skip to content

Commit

Permalink
Merge pull request #16480 from ZhongRuoyu/postinstall-chown-opt
Browse files Browse the repository at this point in the history
package/scripts/postinstall: fix permissions of `opt`
  • Loading branch information
MikeMcQuaid committed Jan 15, 2024
2 parents 302e83e + 005d768 commit 1c612ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fi
# set permissions
if [[ "${homebrew_directory}" == "/usr/local/Homebrew" ]]
then
chown -R "${homebrew_pkg_user}:admin" Cellar Frameworks Homebrew bin etc include lib sbin share var
chown -R "${homebrew_pkg_user}:admin" Cellar Frameworks Homebrew bin etc include lib sbin share opt var
else
chown -R "${homebrew_pkg_user}:admin" .
fi
Expand Down

0 comments on commit 1c612ba

Please sign in to comment.