diff options
author | root <root@rshg054.dnsready.net> | 2012-04-08 00:02:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-08 00:02:42 +0000 |
commit | 37e364f033ed6db243d6db524075d8c5394c90f9 (patch) | |
tree | db3bb1bc5749bee5a51cb403c0b944b52cb10fc3 /community/go/go.install | |
parent | 2317ee13e2342fd8b81ffaf3a427fd4bb096ec28 (diff) |
Sun Apr 8 00:02:42 UTC 2012
Diffstat (limited to 'community/go/go.install')
-rw-r--r-- | community/go/go.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/go/go.install b/community/go/go.install index 9a87b9d11..decdeccf5 100644 --- a/community/go/go.install +++ b/community/go/go.install @@ -1,10 +1,10 @@ post_upgrade() { # Backup any previous /usr/lib/go/bin directory - if [ -e /usr/lib/go/bin ]; then + if [ -d /usr/lib/go/bin -a ! -L /usr/lib/go/bin ]; then mv /usr/lib/go/bin /usr/lib/go/bin.pacnew fi - # Point /usr/lib/go/bin to /usr/bin + # Point /usr/lib/go/bin to /usr/bin instead # # This is to make go get code.google.com/p/go-tour/gotour and # then running the gotour executable work out of the box. |