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
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 3 deletions

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."