Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rpmconf/Install/Util/utilfunc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2786,7 +2786,8 @@ getPlatformVars() {
REPORM='yum erase -y'
PACKAGEINST='rpm -Uvh --replacefiles --replacepkgs'
# TODO: This should kept in os-requirement.
yum -y install --downloadonly dummyxxxxxxx 2>&1 | grep "no such option: --downloadonly" >/dev/null 2>&1
LANG="en_US.UTF-8" LANGUAGE="en_US" \
yum -y install --downloadonly dummyxxxxxxx 2>&1 | grep "no such option: --downloadonly" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Installing yum-plugin-downloadonly."
yum -y install yum-plugin-downloadonly
Expand Down