checks for some dependencies in install.sh

This commit is contained in:
2026-07-03 10:35:44 +01:00
parent 4e62da3d52
commit 32ae7e2b38
+10
View File
@@ -1,5 +1,15 @@
#!/bin/sh
DEPENDENCIES="podman podman-compose yq envsubst bash"
for dep in ${DEPENDENCIES}
do
if [ -z "$(which ${dep} 2>/dev/null)" ]
then
echo "Cannot install: missing required dependency ${dep}. Install ${dep}, then try again."
exit 1
fi
done
set -e
doas adduser -h /home/joeac.net joeac.net