diff options
Diffstat (limited to 'sysutils/py-azure-cli/files')
| -rw-r--r-- | sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py index 676bcf4e35a4..647ea116904a 100644 --- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py +++ b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py @@ -1,15 +1,15 @@ ---- azure/cli/command_modules/storage/azcopy/util.py.orig 2019-12-04 23:30:55 UTC +--- azure/cli/command_modules/storage/azcopy/util.py.orig 2020-01-31 12:42:39 UTC +++ azure/cli/command_modules/storage/azcopy/util.py -@@ -41,6 +41,8 @@ class AzCopy(object): - file_url = base_url.format('linux', 'tar.gz') - elif self.system == 'Darwin': - file_url = base_url.format('darwin', 'zip') -+ elif self.system == 'FreeBSD': -+ raise CLIError('Azcopy ({}) binary not available, follow instructions at https://wiki.freebsd.org/Ports/sysutils/py-azure-cli'.format(self.system)) - else: - raise CLIError('Azcopy ({}) does not exist.'.format(self.system)) - try: -@@ -163,7 +165,7 @@ def _get_default_install_location(): +@@ -50,6 +50,8 @@ class AzCopy(object): + file_url = base_url.format('linux', 'amd64', AZCOPY_VERSION, 'tar.gz') + elif self.system == 'Darwin': + file_url = base_url.format('darwin', 'amd64', AZCOPY_VERSION, 'zip') ++ elif self.system == 'FreeBSD': ++ raise CLIError('Azcopy ({}) binary not available, follow instructions at https://wiki.freebsd.org/Ports/sysutils/py-azure-cli'.format(self.system)) + else: + raise CLIError('Azcopy ({}) does not exist.'.format(self.system)) + try: +@@ -180,7 +182,7 @@ def _get_default_install_location(): if not home_dir: return None install_location = os.path.join(home_dir, r'.azcopy\azcopy.exe') |
