2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

Merge pull request #6935 from gurevichmark/zypper_auto-agree-with-license

Use correct zypper flag --auto-agree-with-licenses
This commit is contained in:
besawn
2021-04-06 09:41:20 -04:00
committed by GitHub

View File

@ -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