add dep check
This commit is contained in:
parent
3bbb5b8122
commit
1e2d5f1cd8
|
@ -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…
Reference in New Issue