From 8ee4de5ca4ae411acc7f268a2f4b3011412f702b Mon Sep 17 00:00:00 2001 From: David Murphy Date: Tue, 9 Jul 2024 15:00:36 -0600 Subject: [PATCH] Added gcc for Photon git deps --- bootstrap-salt.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 1b21f57..1d1bce5 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -6581,10 +6581,15 @@ install_photon_git_deps() { if ! __check_command_exists ps; then __PACKAGES="${__PACKAGES} procps-ng" fi + if ! __check_command_exists git; then __PACKAGES="${__PACKAGES} git" fi + if ! __check_command_exists gcc; then + __PACKAGES="${__PACKAGES} gcc" + fi + if [ -n "${__PACKAGES}" ]; then # shellcheck disable=SC2086 __tdnf_install_noinput ${__PACKAGES} || return 1