mirror of
https://github.com/openai/codex-security.git
synced 2026-11-22 00:20:33 +08:00
* ci: install ripgrep from existing Ubuntu package lists * ci: retain ShellCheck coverage for the ripgrep installer
9 lines
233 B
Bash
Executable File
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
|