Skip to content

Commit 3333a32

Browse files
authored
Merge pull request #2971 from wolviex/certbot-dnsplugin-user-site-fix
drop --user on pip install dns plugin
2 parents 9a79fce + f39e527 commit 3333a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/certificate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ const internalCertificate = {
877877
const escapedCredentials = certificate.meta.dns_provider_credentials.replaceAll('\'', '\\\'').replaceAll('\\', '\\\\');
878878
const credentialsCmd = 'mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo \'' + escapedCredentials + '\' > \'' + credentialsLocation + '\' && chmod 600 \'' + credentialsLocation + '\'';
879879
// we call `. /opt/certbot/bin/activate` (`.` is alternative to `source` in dash) to access certbot venv
880-
const prepareCmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir --user ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies + ' && deactivate';
880+
const prepareCmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies + ' && deactivate';
881881

882882
// Whether the plugin has a --<name>-credentials argument
883883
const hasConfigArg = certificate.meta.dns_provider !== 'route53';

0 commit comments

Comments
 (0)