summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60python-pyc3
1 files changed, 3 insertions, 0 deletions
diff --git a/metadata/install-qa-check.d/60python-pyc b/metadata/install-qa-check.d/60python-pyc
index f2d5ff3452dd..4679070328c0 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -24,6 +24,9 @@ python_pyc_check() {
for prog in "${progs[@]}"; do
local impl=${prog%/*}
impl=${impl##*/}
+
+ [[ -d "${ED}"/usr/lib/${impl}/site-packages ]] || continue
+
einfo "Verifying compiled files for ${impl}"
local kind pyc py
while IFS=: read -r kind pyc py extra; do