]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Fixing snippets/tpl.350.legato.sh for using a YUM repository
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 22 Jun 2020 12:44:36 +0000 (14:44 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 22 Jun 2020 12:44:36 +0000 (14:44 +0200)
snippets/tpl.350.legato.sh

index b9533f40f2006ac865cc006d6050687726147619..345f43769993e24cfb6d672d79d595f01ad620bf 100644 (file)
@@ -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