go/misc/dist/darwin/scripts/postinstall
2013-08-30 10:11:18 +10:00

10 lines
195 B
Bash
Executable file

#!/bin/bash
GOROOT=/usr/local/go
echo "Fixing permissions"
cd $GOROOT
find . -exec chmod ugo+r \{\} \;
find bin -exec chmod ugo+rx \{\} \;
find . -type d -exec chmod ugo+rx \{\} \;
chmod o-w .