verify if opendkim-tools and opendkim is installed
This commit is contained in:
parent
3af7d2d679
commit
20d3afb74a
|
@ -1,5 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
dpkg -l |grep -e 'opendkim-tools' -e 'opendkim' -q
|
||||
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "Require opendkim-tools and opendkim"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
echo "Usage : $0 example.com" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue