Use the -E flag of sudo command

Merged Bernhard Landauer requested to merge cboin:master into master

Created by: cboin

If the user sets environment variables before running the setup script. It will no longer be available when running the sudo command. This can be useful for users who are behind a proxy for example.

Merge request reports