From a70200dd299361f0745c623e4e21cbf11698215a Mon Sep 17 00:00:00 2001
From: Daniel Loader <spicypixel@gmail.com>
Date: Tue, 20 Feb 2018 13:03:50 +0000
Subject: [PATCH] Add version output at end of the install.sh script

---
 docs/content/install.sh | 4 ++++
 1 file changed, 4 insertions(+)

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