setup: ensure transfer is complete before execution (#10358)
setup: ensure transfer is complete before execution (#10358)

This script is being published via https://aka.ms/InstallAzureCLIDeb and being used in a `curl | bash` way. In order to avoid partial execution in case of incomplete transfers, wrap the whole setup in a bash function which is called when the transfer is completed.
yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli,yugangw-msft/azure-cli