b544e91494
As dnf 1.1.1 is pretty recent, make sure we update it as early as possible. Change-Id: I30039090cfe652b864d847713ab2986c5659023d
13 lines
261 B
Bash
Executable File
13 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
|