diff --git a/src/warden-client/sh/install.sh b/src/warden-client/sh/install.sh index 726318b7e8a7e644e288df642b7de2609f7249a0..d276dfa9a005eb8412c1dd59326a56653a3fca88 100755 --- a/src/warden-client/sh/install.sh +++ b/src/warden-client/sh/install.sh @@ -87,26 +87,6 @@ err_clean() } -os_chck() -{ - OS=`uname` - if [ "$OS" != "Linux" ]; then - echo "Sorry, unsupported operating system detected - \"$OS\"!" - exit 1 - fi -} - - -shell_chck() -{ - SHELL=`echo $SHELL` - if [ "$SHELL" != "/bin/bash" ]; then - echo "Sorry, this script is usable in Bourne Again Shell (bash) only!" - exit 1 - fi -} - - root_chck() { if [ $UID -ne 0 ]; then @@ -281,12 +261,6 @@ change_permissions() # list of used Perl modules modules=(SOAP::Lite IO::Socket::SSL SOAP::Transport::TCP FindBin DateTime) -# OS test -os_chck - -# Shell test -shell_chck - # read input while getopts "d:u:k:c:a:Vh" options; do case $options in diff --git a/src/warden-client/sh/uninstall.sh b/src/warden-client/sh/uninstall.sh index a76d46414a36aedef1c5193e5ac25982bc98e1b7..a67a885006dd601220d59d6a9ddfe4c79da54c17 100755 --- a/src/warden-client/sh/uninstall.sh +++ b/src/warden-client/sh/uninstall.sh @@ -84,26 +84,6 @@ err_clean() } -os_chck() -{ - OS=`uname` - if [ "$OS" != "Linux" ]; then - echo "Sorry, unsupported operating system detected - \"$OS\"!" - exit 1 - fi -} - - -shell_chck() -{ - SHELL=`echo $SHELL` - if [ "$SHELL" != "/bin/bash" ]; then - echo "Sorry, this script is usable in Bourne Again Shell (bash) only!" - exit 1 - fi -} - - root_chck() { if [ $UID -ne 0 ]; then @@ -171,12 +151,6 @@ uninstall_warden_client() # MAIN #------------------------------------------------------------------------------- -# OS test -os_chck - -# Shell test -shell_chck - # read input while getopts "d:Vh" options; do case $options in diff --git a/src/warden-client/sh/update.sh b/src/warden-client/sh/update.sh index cd994b24b2d197ff5f5689d8320dd78f517aaf7e..395f28d17040617dec67e0a694653bef2ae7792c 100755 --- a/src/warden-client/sh/update.sh +++ b/src/warden-client/sh/update.sh @@ -86,26 +86,6 @@ err_clean() } -os_chck() -{ - OS=`uname` - if [ "$OS" != "Linux" ]; then - echo "Sorry, unsupported operating system detected - \"$OS\"!" - exit 1 - fi -} - - -shell_chck() -{ - SHELL=`echo $SHELL` - if [ "$SHELL" != "/bin/bash" ]; then - echo "Sorry, this script is usable in Bourne Again Shell (bash) only!" - exit 1 - fi -} - - root_chck() { if [ $UID -ne 0 ]; then @@ -286,12 +266,6 @@ change_permissions() # list of used Perl modules modules=(SOAP::Lite IO::Socket::SSL SOAP::Transport::TCP FindBin DateTime) -# OS test -os_chck - -# Shell test -shell_chck - # read input while getopts "d:Vh" options; do case $options in