Merge pull request #16480 from ZhongRuoyu/postinstall-chown-opt

package/scripts/postinstall: fix permissions of `opt`
This commit is contained in:
Mike McQuaid 2024-01-15 13:49:36 +00:00 committed by GitHub
commit 1c612baa09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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