From e5e1df0cb069eb249ecbd4e31a95dfff166366e2 Mon Sep 17 00:00:00 2001 From: Radoslaw Smigielski Date: Sun, 14 Apr 2019 01:42:35 +0200 Subject: [PATCH] Replace hardcoded yum command by package manager variable Fix hardcoded yum command by package manager variable, PKG_MANAGER in scripts/install-deps.sh. That was problem on Fedora where default package manager is dnf and not yum. Change-Id: I2dbec079adbfcab71e46e086fcd201a5175f22d5 Story: 2005451 Task: 30503 --- scripts/install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index 4bd61a27e..1eae9f3fc 100644 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -87,7 +87,7 @@ case ${ID,,} in [wget]=wget ) EXTRA_PKG_DEPS=() - sudo -E yum updateinfo + sudo -E ${PKG_MANAGER} updateinfo if $(grep -q Fedora /etc/redhat-release); then EXTRA_PKG_DEPS="python-dnf redhat-rpm-config" fi