Date: Wednesday, July 24, 2013 @ 13:56:10 Author: guillaume Revision: 191366
Fixed FS#36263 Modified: apache-ant/trunk/PKGBUILD apache-ant/trunk/apache-ant.install --------------------+ PKGBUILD | 4 ++-- apache-ant.install | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-07-24 10:47:59 UTC (rev 191365) +++ PKGBUILD 2013-07-24 11:56:10 UTC (rev 191366) @@ -4,7 +4,7 @@ # Contributor: Paul Mattal <p...@archlinux.org> pkgname=apache-ant pkgver=1.9.2 -pkgrel=2 +pkgrel=3 pkgdesc='A java-based build tool' arch=('any') url='http://ant.apache.org/' @@ -20,7 +20,7 @@ sha256sums=('cf95317f683f28ae3d263327447abbebd30a6c910cfa069a05c5ee39aa5ad0e3' '182b9212610790966d3a018d3cbab2e5327dd9fd11dc15dd1f377853216f5718' '919a3ab1acae1d0d190fe6e0034b00975caab40e55359a720bfccd098fe2d995' - '8219443864c2e199e679b2f5521162244fb605732d912a51991ee28e476da907') + '37602eb618da3948e4b9334f1641fdc8372543a4014da37f6c5548ced8992fa2') _ant_home=/usr/share/${pkgname} Modified: apache-ant.install =================================================================== --- apache-ant.install 2013-07-24 10:47:59 UTC (rev 191365) +++ apache-ant.install 2013-07-24 11:56:10 UTC (rev 191366) @@ -1,5 +1,13 @@ post_install() { - ln -s /etc/apache-ant /usr/share/apache-ant/etc + if [ ! -e /usr/share/apache-ant/etc ] + then + ln -s /etc/apache-ant /usr/share/apache-ant/etc + fi + + if [ -e /usr/share/apache-ant/etc/apache-ant ] + then + unlink /usr/share/apache-ant/etc/apache-ant + fi } post_upgrade() {