From 145814f2311494d1f95ffe1e04216232525a34e7 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 21 Oct 2019 13:56:26 +0200 Subject: [PATCH] Removed unused code --- upgrade-v1.0x-v1.3x.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/upgrade-v1.0x-v1.3x.sh b/upgrade-v1.0x-v1.3x.sh index 9270535..49af9fe 100755 --- a/upgrade-v1.0x-v1.3x.sh +++ b/upgrade-v1.0x-v1.3x.sh @@ -228,22 +228,6 @@ function Usage { exit 128 } -function CheckEnvironment { - if [ "$REMOTE_OPERATION" == "yes" ] || [ "$REMOTE_OPERATION" == true ]; then - if ! type -p ssh > /dev/null 2>&1 - then - Logger "ssh not present. Cannot start sync." "CRITICAL" - return 1 - fi - fi - - if ! type -p rsync > /dev/null 2>&1 - then - Logger "rsync not present. Sync cannot start." "CRITICAL" - return 1 - fi -} - function LoadConfigFile { local config_file="${1}"