From 2cb73399319f12c937eb38c951a011af51d78fb3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 22 Jun 2020 14:44:36 +0200 Subject: [PATCH] Fixing snippets/tpl.350.legato.sh for using a YUM repository --- snippets/tpl.350.legato.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/snippets/tpl.350.legato.sh b/snippets/tpl.350.legato.sh index b9533f4..345f437 100644 --- a/snippets/tpl.350.legato.sh +++ b/snippets/tpl.350.legato.sh @@ -15,17 +15,17 @@ install_legato() { local url_client="${COBBLER_URL}/custom/legato/lgtoclnt-latest.x86_64.rpm" local url_man="${COBBLER_URL}/custom/legato/lgtoman-latest.x86_64.rpm" - echo "Installing from URL '${url_client}' ..." - if yum install -y "${url_client}" ; then + echo "Installing lgtoclnt ..." + if yum install -y "lgtoclnt" ; then : else - echo "[$(date)]: Could not install from ${url_client}" | tee -a "${ERROR_POINTER}" + echo "[$(date)]: Could not install lgtoclnt" | tee -a "${ERROR_POINTER}" fi - echo "Installing from URL '${url_man}' ..." - if yum install -y "${url_man}" ; then + echo "Installing lgtoman ..." + if yum install -y "lgtoman" ; then : else - echo "[$(date)]: Could not install from ${url_man}" | tee -a "${ERROR_POINTER}" + echo "[$(date)]: Could not install lgtoman" | tee -a "${ERROR_POINTER}" fi mkdir -pv /nsr/res -- 2.39.5