File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ const internalCertificate = {
875
875
const escapedCredentials = certificate . meta . dns_provider_credentials . replaceAll ( '\'' , '\\\'' ) . replaceAll ( '\\' , '\\\\' ) ;
876
876
const credentialsCmd = 'mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo \'' + escapedCredentials + '\' > \'' + credentialsLocation + '\' && chmod 600 \'' + credentialsLocation + '\'' ;
877
877
// we call `. /opt/certbot/bin/activate` (`.` is alternative to `source` in dash) to access certbot venv
878
- let prepareCmd = '. /opt/certbot/bin/activate && pip install ' + dns_plugin . package_name + ( dns_plugin . version_requirement || '' ) + ' ' + dns_plugin . dependencies + " && deactivate" ;
878
+ let prepareCmd = '. /opt/certbot/bin/activate && pip install ' + dns_plugin . package_name + ( dns_plugin . version_requirement || '' ) + ' ' + dns_plugin . dependencies + ' && deactivate' ;
879
879
880
880
// Whether the plugin has a --<name>-credentials argument
881
881
const hasConfigArg = certificate . meta . dns_provider !== 'route53' ;
Original file line number Diff line number Diff line change @@ -169,8 +169,8 @@ const setupCertbotPlugins = () => {
169
169
. andWhere ( 'provider' , 'letsencrypt' )
170
170
. then ( ( certificates ) => {
171
171
if ( certificates && certificates . length ) {
172
- let plugins = [ ] ;
173
- let promises = [ ] ;
172
+ let plugins = [ ] ;
173
+ let promises = [ ] ;
174
174
175
175
certificates . map ( function ( certificate ) {
176
176
if ( certificate . meta && certificate . meta . dns_challenge === true ) {
@@ -189,7 +189,7 @@ const setupCertbotPlugins = () => {
189
189
} ) ;
190
190
191
191
if ( plugins . length ) {
192
- const install_cmd = '. /opt/certbot/bin/activate && pip install ' + plugins . join ( ' ' ) + " && deactivate" ;
192
+ const install_cmd = '. /opt/certbot/bin/activate && pip install ' + plugins . join ( ' ' ) + ' && deactivate' ;
193
193
promises . push ( utils . exec ( install_cmd ) ) ;
194
194
}
195
195
You can’t perform that action at this time.
0 commit comments