[arch-commits] Commit in go/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Fri Mar 7 19:51:00 UTC 2014


    Date: Friday, March 7, 2014 @ 20:50:59
  Author: arodseth
Revision: 106800

Install godoc if available

Modified:
  go/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-07 18:24:00 UTC (rev 106799)
+++ PKGBUILD	2014-03-07 19:50:59 UTC (rev 106800)
@@ -88,7 +88,9 @@
 
   export GOROOT="$srcdir/$pkgname-$pkgver"
 
-  install -Dm755 ../godoc "$pkgdir/usr/bin/godoc"
+  if [ -e ../godoc ]; then
+    install -Dm755 ../godoc "$pkgdir/usr/bin/godoc"
+  fi
 
   install -Dm644 LICENSE \
     "$pkgdir/usr/share/licenses/go/LICENSE"




More information about the arch-commits mailing list