We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b341562 commit 8aa22b2Copy full SHA for 8aa22b2
1 file changed
src/powershell/install.sh
@@ -385,7 +385,7 @@ if [ -n "$POWERSHELL_PROFILE_URL" ]; then
385
echo "Downloading PowerShell Profile from: $POWERSHELL_PROFILE_URL"
386
# Get profile path from currently installed pwsh
387
profilePath=$(pwsh -noni -c '$PROFILE.AllUsersAllHosts')
388
- curl -sSL -o "$profilePath" "$POWERSHELL_PROFILE_URL"
+ sudo -E curl -sSL -o "$profilePath" "$POWERSHELL_PROFILE_URL"
389
fi
390
391
# Clean up
0 commit comments