setup: Check for `podman` with `command` instead of `which`
Fixes #132.
This commit is contained in:
parent
3f2683acd5
commit
16a53efd09
4
setup.sh
4
setup.sh
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
podman=`command -v podman`
|
||||||
|
|
||||||
podman=`which podman || true`
|
|
||||||
|
|
||||||
if [ -z "$podman" ]; then
|
if [ -z "$podman" ]; then
|
||||||
echo "podman needs to be in PATH for this script to work."
|
echo "podman needs to be in PATH for this script to work."
|
||||||
|
|
Loading…
Reference in New Issue