diff options
author | lukelabrie | 2023-05-05 18:22:02 +0200 |
---|---|---|
committer | lukelabrie | 2023-05-05 18:22:02 +0200 |
commit | c55fc8af88262a03e8aaaf6428c230e35e3f96a7 (patch) | |
tree | 9c31907f5f6ff2f109f39dd93ec21f90a81434d0 | |
parent | ea931ab77ecad772d485731a698c55394125e707 (diff) | |
download | aur-c55fc8af88262a03e8aaaf6428c230e35e3f96a7.tar.gz |
check if pymoab already installed
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -48,6 +48,9 @@ package() { cd $srcdir/build make DESTDIR="$pkgdir/" install cd pymoab - pip uninstall -y pymoab - python setup.py install --prefix=$pkgdir/opt/MOAB + + # check if pymoab already installed + if ! [ -d "opt/MOAB/lib/python"* ]; then + python setup.py install --prefix=$pkgdir/opt/MOAB + fi } |