Merge branch 'develop' of github.com:jc21/nginx-proxy-manager into real_ip

This commit is contained in:
Jamie Curnow 2020-11-06 09:18:25 +10:00
commit 89d6773bda

View File

@ -187,11 +187,17 @@ const setupCertbotPlugins = () => {
} }
}); });
const install_cmd = 'pip3 install ' + plugins.join(' '); if (plugins.length) {
promises.push(utils.exec(install_cmd)); const install_cmd = 'pip3 install ' + plugins.join(' ');
return Promise.all(promises).then(() => { promises.push(utils.exec(install_cmd));
logger.info('Added Certbot plugins ' + plugins.join(', ')); }
});
if (promises.length) {
return Promise.all(promises)
.then(() => {
logger.info('Added Certbot plugins ' + plugins.join(', '));
});
}
} }
}); });
}; };