Skip to content

Commit 8e264f9

Browse files
committed
Adjusted build host setup for ubuntu-20 with no quick install script
Ticket: ENT-13483 Changelog: none
1 parent d34a434 commit 8e264f9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ci/setup-cfengine-build-host.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ else
130130
# try pipx first for debian as pip won't work.
131131
# If that fails to install CFEngine then try python3-pip for redhats.
132132
PIP=""
133+
software python3-venv || true # on ubuntu-20 this is needed, debian-12 it is not but won't hurt
133134
if software pipx; then
134135
PIP=pipx
135136
export PATH=$HOME/.local/bin:$PATH
@@ -149,6 +150,7 @@ else
149150
fi
150151
export PATH=/usr/local/bin:$PATH # some pip/pipx use /usr/local/bin
151152

153+
$PIP uninstall cf-remote || true # just in case a previous is there and would cause the install to fail
152154
$PIP install cf-remote
153155

154156
if ! command -v cf-remote; then

0 commit comments

Comments
 (0)