[arch-commits] Commit in apache-ant/trunk (PKGBUILD apache-ant.install)

Guillaume Alaux guillaume at nymeria.archlinux.org
Sun Jan 19 19:22:47 UTC 2014


    Date: Sunday, January 19, 2014 @ 20:22:47
  Author: guillaume
Revision: 204430

Removed hack for link creation

Modified:
  apache-ant/trunk/PKGBUILD
  apache-ant/trunk/apache-ant.install

--------------------+
 PKGBUILD           |    5 ++---
 apache-ant.install |    6 +-----
 2 files changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-19 17:51:40 UTC (rev 204429)
+++ PKGBUILD	2014-01-19 19:22:47 UTC (rev 204430)
@@ -22,7 +22,7 @@
 sha256sums=('eb9306e8b8322bb09b78cc3d8e288398f9cb657d76ffc61ee3fb175e786e8365'
             '182b9212610790966d3a018d3cbab2e5327dd9fd11dc15dd1f377853216f5718'
             '919a3ab1acae1d0d190fe6e0034b00975caab40e55359a720bfccd098fe2d995'
-            '37602eb618da3948e4b9334f1641fdc8372543a4014da37f6c5548ced8992fa2'
+            '3de451d0f963ba96e83f4e068a8325e3d4fc42b1e5c4818e9d7962ed4f5393b3'
             '0823bf8d512c970f540ccad86045bc6a4a98de8cc036b00a36bd01550ee67b20'
             'b86ce60f61cbd85a9faa61d698b0fc4607f1ff375cd15673aee57f053012eacb')
 
@@ -51,8 +51,7 @@
   install -dm755 ${pkgdir}/etc/${pkgname}
   cp -Rp etc/* ${pkgdir}/etc/${pkgname}
   rm ${pkgdir}/etc/${pkgname}/ant-bootstrap.jar
-  # Done in .install for now
-  #ln -s /etc/${pkgname} ${pkgdir}${_ant_home}/etc
+  ln -s /etc/${pkgname} ${pkgdir}${_ant_home}/etc
 
   install -dm755 ${pkgdir}${_ant_home}/bin
   find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \

Modified: apache-ant.install
===================================================================
--- apache-ant.install	2014-01-19 17:51:40 UTC (rev 204429)
+++ apache-ant.install	2014-01-19 19:22:47 UTC (rev 204430)
@@ -1,9 +1,5 @@
 post_install() {
-  if [ ! -e /usr/share/apache-ant/etc ]
-  then
-    ln -s /etc/apache-ant /usr/share/apache-ant/etc
-  fi
-
+  # Small fix after mistake in previous package version
   if [ -e /usr/share/apache-ant/etc/apache-ant ]
   then
     unlink /usr/share/apache-ant/etc/apache-ant




More information about the arch-commits mailing list