From 1e28df85b30cec02705ba0516241b9a56689f2f7 Mon Sep 17 00:00:00 2001 From: SMITH <1695515+ms609@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:00:38 +0000 Subject: [PATCH] yum --- .github/workflows/rhub.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index 2ea8b0f0..884a5fac 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -56,17 +56,8 @@ jobs: run: | . /etc/os-release echo $ID - if $ID=="fedora" - then - echo "RUNNING FEDORA!" - fi - if command -v hostnamectl - then - hostnamectl - fi - if command -v uname - then - uname -r + if [ "$ID" = "fedora" ]; then + yum install sudo fi if command -v apt-get &> /dev/null then