diff options
author | James Harvey | 2015-12-19 20:43:36 -0500 |
---|---|---|
committer | James Harvey | 2015-12-19 20:43:36 -0500 |
commit | 934fcbd387a7c63776754fc7b8eaf3a7536b4dd3 (patch) | |
tree | fd5a7bd60929054ed4f274bd0887e599da3c2ef8 | |
parent | fbfd3e65f6395348bf0699b531c4ef8b5dcaa1fd (diff) | |
download | aur-934fcbd387a7c63776754fc7b8eaf3a7536b4dd3.tar.gz |
Remove erroneously empty /var/run directory within package (not on system itself), created by most recent version, causes installation conflict.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Dec 14 01:24:27 UTC 2015 +# Sun Dec 20 01:43:06 UTC 2015 pkgbase = infiniband-diags pkgdesc = OpenFabrics Alliance diagnostic programs and scripts for InfiniBand subnets pkgver = 1.6.6 - pkgrel = 1 + pkgrel = 2 url = https://www.openfabrics.org/index.php/overview.html arch = x86_64 arch = i686 @@ -3,7 +3,7 @@ pkgname=infiniband-diags pkgver=1.6.6 -pkgrel=1 +pkgrel=2 pkgdesc='OpenFabrics Alliance diagnostic programs and scripts for InfiniBand subnets' arch=('x86_64' 'i686') url=('https://www.openfabrics.org/index.php/overview.html') @@ -34,4 +34,8 @@ package() { # Convert from init.d to systemd rm -rf ${pkgdir}/etc/init.d install -Dm644 "${srcdir}/rdma-ndd.service" "${pkgdir}/usr/lib/systemd/system/rdma-ndd.service" + + # 1.6.6 erroneously makes an empty /var/run directory - remove /var/runa nd /var with rmdir rather than "rm -r" so it will fail if not empty (future versions) + rmdir "${pkgdir}/var/run" + rmdir "${pkgdir}/var" } |