mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
misc/dist: rename to makerelease
The ambiguity has gone on too long. R=golang-dev, minux.ma, r, dsymonds CC=golang-dev https://golang.org/cl/39920043
This commit is contained in:
parent
b349477eab
commit
dba08e0615
13 changed files with 9 additions and 9 deletions
10
misc/makerelease/darwin/scripts/postinstall
Executable file
10
misc/makerelease/darwin/scripts/postinstall
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/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 .
|
||||
8
misc/makerelease/darwin/scripts/preinstall
Executable file
8
misc/makerelease/darwin/scripts/preinstall
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
GOROOT=/usr/local/go
|
||||
|
||||
echo "Removing previous installation"
|
||||
if [ -d $GOROOT ]; then
|
||||
rm -r $GOROOT
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue