diff --git a/omnibus/config/software/datadog-agent-finalize.rb b/omnibus/config/software/datadog-agent-finalize.rb index 385f2f0c6495c..11dfdac45cbcb 100644 --- a/omnibus/config/software/datadog-agent-finalize.rb +++ b/omnibus/config/software/datadog-agent-finalize.rb @@ -42,9 +42,12 @@ # based on the config file delete "#{conf_dir}/apm.yaml.default" delete "#{conf_dir}/process_agent.yaml.default" - + # load isn't supported by windows delete "#{conf_dir}/load.d" + + # Remove .pyc files from embedded Python + command "del /q /s #{windows_safe_path(install_dir)}\\*.pyc" end if linux_target? || osx_target?