diff options
Diffstat (limited to 'debian/patches/009-goinstall_can_install_to_GOPATH.patch')
-rw-r--r-- | debian/patches/009-goinstall_can_install_to_GOPATH.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/patches/009-goinstall_can_install_to_GOPATH.patch b/debian/patches/009-goinstall_can_install_to_GOPATH.patch deleted file mode 100644 index 026b41d0a..000000000 --- a/debian/patches/009-goinstall_can_install_to_GOPATH.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/cmd/goinstall/main.go -+++ b/src/cmd/goinstall/main.go -@@ -121,6 +121,10 @@ func main() { - } - readPackageList() - -+ if os.Getuid() != 0 && os.Getenv("GOPATH") == "" { -+ fmt.Fprintf(os.Stderr, "%s: set $GOPATH to the directory you want packages installed to if you get permission denied error\n", argv0) -+ } -+ - // special case - "unsafe" is already installed - visit["unsafe"] = done - |