File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ check_root
140
140
# Run checks
141
141
check_system
142
142
check_pacman
143
+ check_and_install_packages jq
143
144
144
145
install_gcp_cli
145
146
Original file line number Diff line number Diff line change @@ -262,10 +262,6 @@ get_previous_version() {
262
262
prev_version=${! variable_name}
263
263
264
264
output=$( curl -s " $repo_url " )
265
-
266
- # install jq
267
- check_and_install_packages jq
268
-
269
265
message=$( echo " $output " | jq -r ' .message' )
270
266
271
267
if [[ $message == " API rate limit exceeded" * ]]; then
@@ -341,7 +337,7 @@ ensure_cosign() {
341
337
}
342
338
343
339
# Dependencies
344
- check_and_install_packages curl ca-certificates gnupg coreutils dnsutils git terraform unzip
340
+ check_and_install_packages curl ca-certificates gnupg jq coreutils dnsutils git terraform unzip
345
341
346
342
if [ " ${ENABLE_SHELL_COMPLETION} " = " true" ]; then
347
343
echo " Enabling shell auto-completion for Terraform..."
You can’t perform that action at this time.
0 commit comments