From 6c1f0290d63c0672dbd50a7250ce31fc273a65b2 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Wed, 27 Apr 2022 08:22:10 -0500 Subject: [PATCH] Remove python2 workaround in cleanup.sh This change removes a workaround for python 2 in the cleanup.sh script. This is part of the effort to remove the python 2 handling in the loci repo. Change-Id: I7edf860a0b035d91aa9a3f8e2e3af1e71ce61065 --- scripts/cleanup.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index 613dea2..73c86e3 100755 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -21,15 +21,10 @@ case ${distro} in yum clean all ;; opensuse|opensuse-leap|opensuse-tumbleweed|sles) - if [[ "${PYTHON3}" == "no" ]]; then - virtualenv_package="python-virtualenv" - else - virtualenv_package="python3-virtualenv" - fi zypper remove -y --clean-deps \ git-core \ patch \ - "${virtualenv_package}" + python3-virtualenv zypper clean -a ;; *)