Files
codex-security/.github/scripts/install-ripgrep.sh
Michael D'Angelo 40ba5a4baa ci: install ripgrep from existing Ubuntu package lists (#1952)
* ci: install ripgrep from existing Ubuntu package lists

* ci: retain ShellCheck coverage for the ripgrep installer
2026-10-25 12:07:01 +08:00

9 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Hosted Ubuntu images already have package lists. Refresh them if the install fails.
if ! sudo apt-get install --yes ripgrep; then
sudo apt-get update
sudo apt-get install --yes ripgrep
fi