Skip to content

Commit 38a7b7e

Browse files
Updating github-config
1 parent b57488a commit 38a7b7e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

scripts/.util/tools.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,10 @@ function util::tools::cf::install() {
148148
exit 1
149149
esac
150150

151-
# Check if cf is already available in PATH (e.g., from system/Docker image)
152-
if command -v cf &> /dev/null; then
153-
util::print::title "CF CLI already installed (using system version)"
154-
cf version
155-
return 0
156-
fi
157-
158151
if [[ ! -f "${dir}/cf" ]]; then
159152
util::print::title "Installing cf"
160153

161-
curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&source=github-rel" \
154+
curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&version=6.49.0&source=github-rel" \
162155
--silent \
163156
--location \
164157
--output /tmp/cf.tar.gz

0 commit comments

Comments
 (0)