Merge "Remove python2 workaround in cleanup.sh"

This commit is contained in:
Zuul 2022-04-27 22:12:27 +00:00 committed by Gerrit Code Review
commit ff2c43e85a
1 changed files with 1 additions and 6 deletions

View File

@ -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
;;
*)