"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
install.sh: fail on download errors
Ivan Andreev1406b6c3c9e2
diff --git a/docs/content/install.sh b/docs/content/install.shindex 33f7f5c53..56141f3f1 100755--- a/docs/content/install.sh+++ b/docs/content/install.sh@@ -53,9 +53,9 @@ export XDG_CONFIG_HOME=config#check installed version of rclone to determine if update is necessaryversion=$(rclone --version 2>>errors | head -n 1)if [ -z "$install_beta" ]; then- current_version=$(curl https://downloads.rclone.org/version.txt)+ current_version=$(curl -f https://downloads.rclone.org/version.txt)else- current_version=$(curl https://beta.rclone.org/version.txt)+ current_version=$(curl -f https://beta.rclone.org/version.txt)fiif [ "$version" = "$current_version" ]; then@@ -123,7 +123,7 @@ elserclone_zip="rclone-beta-latest-${OS}-${OS_type}.zip"fi-curl -O "$download_link"+curl -Of "$download_link"unzip_dir="tmp_unzip_dir_for_rclone"# there should be an entry in this switch for each element of unzip_tools_listcase "$unzip_tool" in