setup: Check for podman with command instead of which

Fixes #132.
This commit is contained in:
Rémi Verschelde
2023-11-10 21:05:39 +01:00
parent 3f2683acd5
commit 16a53efd09

View File

@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -e
podman=`which podman || true`
podman=`command -v podman`
if [ -z "$podman" ]; then
echo "podman needs to be in PATH for this script to work."