summaryrefslogtreecommitdiff
path: root/community/go/go.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
commit63a600a5f9102d817332db9fb746a4153ed62b51 (patch)
treed4219aa8c6331cc37c98b943b1f9db68306bd81d /community/go/go.install
parent35c30674b2b901077a809a6f1d8e5a0115098c8b (diff)
Fri Jun 15 00:01:47 UTC 2012
Diffstat (limited to 'community/go/go.install')
-rw-r--r--community/go/go.install25
1 files changed, 0 insertions, 25 deletions
diff --git a/community/go/go.install b/community/go/go.install
index 25b9690ac..755f0a442 100644
--- a/community/go/go.install
+++ b/community/go/go.install
@@ -1,20 +1,4 @@
post_upgrade() {
- # Backup any previous /usr/lib/go/bin directory
- 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 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.
- #
- # Also, /usr/bin is the place for system-wide executables,
- # not /usr/lib/go/bin. Users should use different paths by
- # setting the appropriate environment variables.
- #
- ln -sf /usr/bin /usr/lib/go/bin
-
# Friendly message to the user
echo "Example use of the \"go\" tool as a user:"
echo " mkdir ~/go"
@@ -26,13 +10,4 @@ post_install() {
post_upgrade
}
-pre_remove() {
- if [ -c /usr/lib/go/bin ]; then
- rmdir --ignore-fail-on-non-empty /usr/lib/go/bin
- fi
- if [ -L /usr/lib/go/bin ]; then
- rm /usr/lib/go/bin
- fi
-}
-
# vim:set ts=2 sw=2 et: