From 10e423868d2b1d69f6a93e300eb0129d54e206a6 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Jul 27 2019 14:35:17 +0000 Subject: Fix .py QA repos script with wrapper checking centos_ver Signed-off-by: Fabian Arrotin --- diff --git a/tests/0_common/000_centos_default_repos.py b/tests/0_common/000_centos_default_repos.py old mode 100755 new mode 100644 diff --git a/tests/0_common/00_centos_repos.sh b/tests/0_common/00_centos_repos.sh new file mode 100755 index 0000000..8d59485 --- /dev/null +++ b/tests/0_common/00_centos_repos.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ "$centos_ver" -eq "8" ]; then + t_Log "python not installed by default on .el8. SKIP" + exit 0 +else + python 000_centos_default_repos.py +fi +