diff options
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. |