mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-22 07:37:50 +00:00
Make sure we can install podman even when the podman-mac-helper install
command fails. This used to be the behavior but commit bae07b6ea2 caused
the regression because the binary now returns 1 as exit code on errors.
[NO NEW TESTS NEEDED] I am not sure if we can test the install step in
CI.
Fixes #17910
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
11 lines
332 B
Bash
Executable file
11 lines
332 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "/opt/podman/bin" > /etc/paths.d/podman-pkg
|
|
|
|
ln -s /opt/podman/bin/podman-mac-helper /opt/podman/qemu/bin/podman-mac-helper
|
|
ln -s /opt/podman/bin/gvproxy /opt/podman/qemu/bin/gvproxy
|
|
|
|
# make sure to ignore errors, this is not a hard requirement to use podman
|
|
/opt/podman/bin/podman-mac-helper install || :
|