dom0-updates: fix dnf.conf path
If dnf.conf is there, really use it instead of yum.conf.
Fixes 10399e8a
"dom0-updates: improve dnf config handling"
This commit is contained in:
parent
045653c966
commit
347f98b8b6
@ -7,7 +7,7 @@ CLEAN=0
|
||||
CHECK_ONLY=0
|
||||
OPTS="--installroot $DOM0_UPDATES_DIR"
|
||||
if [ -f "$DOM0_UPDATES_DIR/etc/dnf/dnf.conf" ]; then
|
||||
OPTS="$OPTS --config=$DOM0_UPDATES_DIR/etc/yum.conf"
|
||||
OPTS="$OPTS --config=$DOM0_UPDATES_DIR/etc/dnf/dnf.conf"
|
||||
elif [ -f "$DOM0_UPDATES_DIR/etc/yum.conf" ]; then
|
||||
OPTS="$OPTS --config=$DOM0_UPDATES_DIR/etc/yum.conf"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user