Browse Source

add dep check

develop
Simon Vieille 2 years ago
parent
commit
1e2d5f1cd8
Signed by: deblan GPG Key ID: 03383D15A1D31745
  1. 12
      hooks/on-start

12
hooks/on-start

@ -9,3 +9,15 @@ if ! which envsubst 2>/dev/null >/dev/null; then
exit 1
fi
if ! which base64 2>/dev/null >/dev/null; then
printf "Le programme \`envsubst\` est nécessaire. Installer \`coreutils\`.\n"
exit 1
fi
if ! which smartcl 2>/dev/null >/dev/null; then
printf "Le programme \`envsubst\` est nécessaire. Installer \`smartmontools\`.\n"
exit 1
fi
Loading…
Cancel
Save