Skip to content

Commit ab11a19

Browse files
Updating github-config
1 parent 015f173 commit ab11a19

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 already exists in the target directory or system PATH
152-
if [[ -f "${dir}/cf" ]] || command -v cf >/dev/null 2>&1; 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)