Skip to content

Commit 3ad26b6

Browse files
committed
Adjusted build host setup script to cleanup previous cf-remote install if needed
A -y (--yes) was needed to confirm the uninstall, otherwise the process would hang waiting for user input. Ticket: ENT-13483 Changelog: none
1 parent 646e798 commit 3ad26b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci/setup-cfengine-build-host.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ else
165165
fi
166166
export PATH=/usr/local/bin:$PATH # some pip/pipx use /usr/local/bin
167167

168-
$PIP uninstall cf-remote || true # just in case a previous is there and would cause the install to fail
168+
$PIP uninstall -y cf-remote || true # just in case a previous is there and would cause the install to fail
169169
$PIP install cf-remote || true # if this fails we will try to install from source
170170

171171
echo "Checking for pre-installed CFEngine (chicken/egg problem)"

0 commit comments

Comments
 (0)