Author:   Lars Michelsen <[email protected]>
Date:     Mon Oct  1 17:55:56 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Oct  1 17:55:56 2012 +0200

Installer: Check wether or not rsync is installed (terminating if not)

---

 ChangeLog  |    3 +++
 install.sh |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 990375e..c2b92f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@ Frontend:
   * Bugfix: Fixed broken rotation links on overview page
   * Bugfix: Zoom code: Catching not handleable font-size declarations
 
+Installer:
+  * Check wether or not rsync is installed (terminating if not)
+
 1.7.1
 Core
   * Added new object type "container" to render a textbox like object which
diff --git a/install.sh b/install.sh
index 2f42cfe..7e6b7bd 100755
--- a/install.sh
+++ b/install.sh
@@ -1006,6 +1006,11 @@ fi
 log "Using packet manager $PKG" $PKG
 SED=`which sed` 
 
+if ! which rsync >/dev/null 2>&1; then
+    log "rsync is not installed. Aborting..."
+    exit 1
+fi
+
 # checking grep option as non-Linux might not support "-r"
 grep -r INSTALLER_VERSION install.sh >/dev/null 2>&1
 if [ $? -ne 0 ]; then


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to