Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Add version output at end of the install.sh script

Daniel Loadera70200dd2993
diff --git a/docs/content/install.sh b/docs/content/install.sh
index cb8fd5f39..2228b3e14 100755
--- a/docs/content/install.sh
+++ b/docs/content/install.sh
@@ -171,5 +171,9 @@ case $OS in
esac
+#update version variable post install
+version=`rclone --version 2>>errors | head -n 1`
+
+printf "\n${version} has successfully installed."
printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n'
exit 0