Martin Pluskal changed bug 1038476
What Removed Added
CC   mpluskal@suse.com, tchvatal@suse.com

Comment # 1 on bug 1038476 from
It seems to be caused by %pre section:
if [[ -d "%{docker_store}" && -n "$(find "%{docker_graph}" -maxdepth 1 -type d
2>/dev/null | grep -Ev '_tmp|^%{docker_graph}$')" ]]; then
    # Check if currently installed version of docker is old enough to need
migration.
    CURRENT_DOCKER_VERSION=$(docker -v | sed
's/^.*[^0-9]\([0-9]*\.[0-9]*\.[0-9]*\).*$/\1/')
    # This variable will contain the current docker version if migration is
needed otherwise it will contain the upgrade point.
    # Next time the docker package needs to be upgraded without restarting the
service increase the 1.10.1 to the new version.
    NEED_UPGRADE_VERSION=$(echo -e
"$CURRENT_DOCKER_VERSION\n%{last_migration_version}" | sort -V | head -1)

    if [[ $CURRENT_DOCKER_VERSION == $NEED_UPGRADE_VERSION ]]; then
        touch %{docker_migration_testfile}
    fi
fi


Which fails in case %{docker_store} (/var/lib/docker) exists and docker is not
already installed.


You are receiving this mail because: