diff --git a/srcpkgs/xbps-triggers/files/pycompile b/srcpkgs/xbps-triggers/files/pycompile index f82dec9897f..1e554421a96 100755 --- a/srcpkgs/xbps-triggers/files/pycompile +++ b/srcpkgs/xbps-triggers/files/pycompile @@ -35,11 +35,15 @@ compile() { for f in ${pycompile_dirs}; do echo "Byte-compiling python code in ${f}..." + python -m compileall -f -q ${f} && \ python -O -m compileall -f -q ${f} done for f in ${pycompile_module}; do echo "Byte-compiling python code for module ${f}..." - python -O -m compileall -f -q usr/lib/python${PYVER}/site-packages/${f} + python -m compileall -f -q \ + usr/lib/python${PYVER}/site-packages/${f} && \ + python -O -m compileall -f -q \ + usr/lib/python${PYVER}/site-packages/${f} done } diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 95f88481b36..7b43ca28c71 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.24 +version=0.25 short_desc="XBPS triggers" maintainer="Juan RP " homepage="http://code.google.com/p/xbps"