From e1319979be1afb84fbed115c1c8ff72b1d99f9e5 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Fri, 2 Apr 2021 11:20:51 -0400 Subject: [PATCH] Use correct zypper flag --auto-agree-with-licenses --- xCAT/postscripts/otherpkgs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 38a535a98..131787d13 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -843,9 +843,9 @@ EOF` fi elif [ $haszypper -eq 1 ]; then if [ $VERBOSE ]; then - echo "$envlist zypper --non-interactive update --auto-agree-with-license" + echo "$envlist zypper --non-interactive update --auto-agree-with-licenses" fi - result=`eval $envlist zypper --non-interactive update --auto-agree-with-license 2>&1` + result=`eval $envlist zypper --non-interactive update --auto-agree-with-licenses 2>&1` R=$? if [ $R -ne 0 ]; then