#  $Id: patch_add,v 1.2 2015-03-31 12:24:25 pc161604 Exp $
#  Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
#  This software code contains proprietary information
#  and should be treated as confidential.
#
#  Description of tarantella patch add

patch_add_desc="  add                Adds a patch to the SGD server"

info_long_usage="tarantella patch add --file <patch file>

  Adds a patch to the SGD server.

  --file <patch file>   The .tar or .tar.gz file containing the patch."

info_short_usage="Usage: tarantella patch add --file <patch file>
 - Adds a patch to the SGD server"

info_unpacking="Unpacking the patch file: "
info_upgrading="Upgrading the JVM to " 
info_complete="Successfully updated the JVM to " 
info_read_bundle="Checking the bundle's content ..."
info_update_commands="Updating the patch commands"
info_updated_commands="Updated the patch commands"
info_update_complete="Update complete"
info_checking_conflicts="Checking the patch for conflicts ..."
info_checking_dependencies="Checking the patch for dependencies ..."
info_binary_install="Installing binary patch: "
info_binary="... "
info_binary_complete="Binary installation complete."
info_restart="The SGD server must be restarted."
info_jserver_install="Installing jserver patch: "
info_jserver_complete="Jserver installation complete."
info_array="This patch must be installed on all members of the array."
info_abort="Aborting the patch installation."
info_webcomp_install="Installing web components patch: "
info_webcomp_complete="Installation complete."
info_webserver_config="Configuring Webserver - This may take some time, please wait ..."
info_webserver_apache="Installing apache ..."
info_webserver_tomcat="Installing tomcat ..."
info_file_install="Installing patch: "
info_post_install="Performing post install configuration ..."


query_array="Continue with the installation [y|n] ?"

err_sgd_running="Please stop SGD before adding the patch."
err_unknown_arg="Unrecognised argument: "
err_missingfile="The mandatory argument --file is missing."
err_invalid_arg="The arguments supplied are invalid."
err_invalid_type="Invalid patch type: "
err_file_does_not_exist="The patch file cannot be found: "
err_file_not_absolute="Please use an absolute path for the patch file."
err_untar="Unable to unpack the patch file."
err_unzip="Unable to unzip the patch file."
err_patch_version="The patch version must be newer than the current JVM."
err_patch_conflict="The patch conflicts with : "
err_patch_depends="The patch depends upon :"
err_patch_failed_requirements="Please ensure that all conflicts and dependencies are resolved."
err_already_installed1="The patch, "
err_already_installed2=", is already installed."
err_superseded="This patch is superseded by :"
err_file_format="Invalid patch file format."
err_mech_invalid_1="This patch requires version"
err_mech_invalid_2="of the patch add mechanism. 
Please update your patch mechanism."
err_wrong_arch="Incorrect OS. This patch is for :"
err_local_arch="Local OS is :"
err_wrong_sgd="This patch is for SGD version :"
err_local_sgd="Local SGD version is :"
err_tomcat_already_installed="Tomcat version, "
err_apache_already_installed="Apache version, "
err_webserver_config_missing="webserver_config script is missing."
err_disk_space="Insufficient disk space to install patch. Required disk space is "
err_disk_space_unit="MB"
err_sgd_not_configured="Please run '${TTAINSTDIR}/bin/tarantella start' before applying any patches."
err_wrong_product="Incorrect product. This patch is for : ${PRODUCT_SHORT_NAME}"
err_this_product="This is ${PRODUCT_FULL_NAME}."
