add correct patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=156
This commit is contained in:
parent
39ed939f73
commit
32689d01b6
@ -1,8 +1,8 @@
|
||||
diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
|
||||
index 54d65f9..0138028 100644
|
||||
index 54d65f9..a6c93f4 100644
|
||||
--- a/src/cmd/go/pkg.go
|
||||
+++ b/src/cmd/go/pkg.go
|
||||
@@ -476,6 +476,14 @@ func isStale(p *Package, topRoot map[string]bool) bool {
|
||||
@@ -476,6 +476,13 @@ func isStale(p *Package, topRoot map[string]bool) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
@ -10,7 +10,6 @@ index 54d65f9..0138028 100644
|
||||
+ // Only root user can reinstall a std library from a dependancy, all other
|
||||
+ // users should *never* have to do this.
|
||||
+ if os.Getuid() != 0 && p.Standard {
|
||||
+ fmt.Println("openSUSE")
|
||||
+ return false
|
||||
+ }
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user