From f105ed7468f135c9b2f55152cb0cb0b94a014e6d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Feb 2019 11:06:20 +0100 Subject: xraylarch: do not run installed program - it fails if chrooted --- xraylarch/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'xraylarch') diff --git a/xraylarch/PKGBUILD b/xraylarch/PKGBUILD index dd3ba534..5cb002af 100755 --- a/xraylarch/PKGBUILD +++ b/xraylarch/PKGBUILD @@ -64,6 +64,7 @@ prepare() { /^\s*pyexe\s*=/ s/python/python2/ s/^\s*setup(/_setup = \0/ s/^\(\s*dest\s*=\s*\)\(\S.*\)$/\1_setup.get_command_obj('"'"'install'"'"').root + os.path.abspath(\2)/ + /subprocess\.check_call/ { N; d; } ' "${pkgname}-${pkgver}/setup.py" } -- cgit v1.2.3-70-g09d2