b544e91494
As dnf 1.1.1 is pretty recent, make sure we update it as early as possible. Change-Id: I30039090cfe652b864d847713ab2986c5659023d
12 lines
261 B
Bash
Executable file
12 lines
261 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [[ $DISTRO_NAME == "fedora" && $DIB_RELEASE -eq 22 ]]; then
|
|
# we need dnf mark command from dnf 1.1.1, which is pretty recent
|
|
dnf --refresh update -y dnf
|
|
fi
|