Skip to content

Commit 27bd316

Browse files
authored
keep environment, so curl will know about https_proxy (#87)
1 parent 1842fd5 commit 27bd316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/files/configure_misp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ update_ca_certificates() {
374374
update-ca-certificates
375375
# Upgrade cake cacert.pem file from Mozilla project
376376
echo "Updating /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem..."
377-
sudo -u www-data curl -s --etag-compare /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt --etag-save /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt https://curl.se/ca/cacert.pem -o /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem
377+
sudo -E -u www-data curl -s --etag-compare /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt --etag-save /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/etag.txt https://curl.se/ca/cacert.pem -o /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem
378378
}
379379

380380
create_sync_servers() {

0 commit comments

Comments
 (0)