summaryrefslogtreecommitdiff
path: root/contrib/cirrus/setup_environment.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-07-09 12:06:51 -0400
committerChris Evich <cevich@redhat.com>2019-07-12 08:44:27 -0400
commit9043b816d47e4b88255f8aee8980832766f99283 (patch)
tree9e90a2ec0105d3d7d49483c605817c8c48ba6985 /contrib/cirrus/setup_environment.sh
parent6f3e7f7eccdfed03d3d617a9040d5e0b844ea637 (diff)
downloadpodman-9043b816d47e4b88255f8aee8980832766f99283.tar.gz
podman-9043b816d47e4b88255f8aee8980832766f99283.tar.bz2
podman-9043b816d47e4b88255f8aee8980832766f99283.zip
Cirrus: Fix missing removal of packaged podman
This was originally intended, but somehow omitted from #1936 Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index f312e593a..e49bb98fe 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -52,7 +52,9 @@ install_test_configs
make install.tools
case "$SPECIALMODE" in
- none) ;; # Do the normal thing
+ none)
+ remove_packaged_podman_files # we're building from source
+ ;;
rootless)
# Only do this once, even if ROOTLESS_USER (somehow) changes
if ! grep -q 'ROOTLESS_USER' /etc/environment
@@ -65,9 +67,9 @@ case "$SPECIALMODE" in
tee -a /etc/environment) && eval "$X" && echo "$X"
setup_rootless
fi
+ remove_packaged_podman_files
;;
in_podman) # Assumed to be Fedora
- dnf install -y podman
$SCRIPT_BASE/setup_container_environment.sh
;;
windows) ;& # for podman-remote building only