adapting alternc_fix_opendkim.php for SQUEEZE

This commit is contained in:
Benjamin Sonntag 2014-10-02 14:03:16 +02:00
parent 7cf34472b8
commit 154738e277
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ fclose($f);
$ALTERNC_ROOT=rtrim($ALTERNC_ROOT,"/");
if (!file_exists("/usr/bin/opendkim-genkey")) {
if (!file_exists("/usr/bin/opendkim-genkey")
&& !file_exists("/usr/sbin/opendkim-genkey")) {
echo "opendkim-tools not installed, please launch:\n";
echo "apt-get install opendkim-tools\n";
exit(1);