Quantcast
Channel: All Data Protector Practitioners Forum posts
Viewing all articles
Browse latest Browse all 10494

Re: ./omnisetup.sh[83]: Syntax error at line 94 : 'then' is not matched.

$
0
0

 

Please find below the script. The same is attached as well. The script is directly from HP e-delivery/e-media download. The VI editor shows 101 lines. I just put the 94th line below in Bold for your attention.

 

 

#============================================================================

#

#     (c) Copyright 2002-2006, Hewlett-Packard Company, all rights reserved.

#

#     PACKAGE      HP Data Protector

#     FILE         omnisetup.sh

#     RCS          $Header: /shell/inst/local/omnisetup.sh $Rev: 37911 $ $Date:: 2013-06-18 18:07:16 #$:

#

#     DESCRIPTION

#       Data Protector local installation on various Unix platforms.

#

#============================================================================

# USAGE:

#

#   see Usage()

#

#============================================================================

# When the version change is needed, these are the necessary places:

# TAPEBASENAME, TAPEBASENAME2,

# CheckInstalledVersion function, the current version must be updated in the first 'case'

#Debug="set -x"

Debug=""

$Debug

sh_path=`dirname $0`

PRODUCT="DATA-PROTECTOR"

SUBPRODUCT=""

SW_DEPOT="DP_DEPOT"

# Default is awk, except for SunOS, which uses nawk (see below)

AWK=awk

PegasusDependPackets="smisa"

IntegrationPackets="db2 emc informix lotus oracle8 sapdb sap sybase ssea"

NonIntegrationPackets="da ndmp ma cc docs jpn_ls fra_ls chs_ls autodr StoreOnceSoftware vmware vepa vmwaregre_agent"

CorrectPackets="$NonIntegrationPackets $IntegrationPackets $PegasusDependPackets"

VERSION=A.08.00

#VERSION=A.08.00

VERSION_S=`echo $VERSION | $AWK -F"." '{ print $1  "."  $2 "." $3 }'`

VERSION_P=`echo $VERSION | $AWK -F"." '{ print $1 $2 $3 }'`

InstalledProductName="Data Protector"

 

CellServer=""

# Names of packets that CM and IS configurations contain

HPISComponents="DATA-PROTECTOR.OB2-IS"

HPCMComponents="DATA-PROTECTOR.OB2-CM DATA-PROTECTOR.OB2-DOCS"

HPCMComponents1123="DATA-PROTECTOR.OB2-CM DATA-PROTECTOR.OB2-DOCS"

GPLCoreComponent="OB2-CORE OB2-TS-CORE"

GPLISComponents="OB2-CORE-IS OB2-CFP OB2-TS-CFP OB2-DAP OB2-MAP OB2-NDMPP OB2-CCP OB2-INTEGP OB2-TS-PEGP OB2-DB2P OB2-EMCP OB2-INFP OB2-LOTP OB2-OR8P OB2-SAPDBP OB2-SAPP OB2-SYBP OB2-SMISAP OB2-SSEAP OB2-VMWP OB2-VEPAP OB2-AUTODRP OB2-SODAP OB2-VMWAREGRE-AGENTP OB2-DOCSP OB2-FRAP OB2-JPNP OB2-CHSP"

GPLCMComponents="$GPLCoreComponent OB2-CC OB2-TS-CS OB2-TS-JRE OB2-TS-AS OB2-WS OB2-JCE-DISPATCHER OB2-JCE-SERVICEREGISTRY OB2-CS OB2-DA OB2-MA OB2-DOCS"

ComponentTempFile="/tmp/omni_tmp/DPInstallComponents"

if [ "$SUBPRODUCT" = "AppRM" ]; then #AppRM

  DPOBBundles="APPRM B7878MA T5404A"

else #DP

  DPOBBundles="DATA-PROTECTOR OMNIBACK-II B6951 B6952 B6953 B6954 B6955 B6956 B6957 B6958 B6959 B6960 B6961 B6962 B6963 B6964 B6965 B6966 B6967 B6968 B7020 B7021 B7022 B7023 B7024 B7025 B7026 B7027 B7028 B7029 B7030 B7031 B7033 B7034 B7035 B7036 B7037"

fi

PACKET=packet.Z

TAPEBASENAME="DP_${VERSION_P}_"

# TapePlatforms defines which platforms can be installed from the specified tapefilename.

# format 'SDLabel TapeSuffix CS Client IS'

TapePlatforms="

SD1 OB2-CS-$VERSION_S-1.x86_64.rpm gpl* 0 0 linux_x86_64

SD2 OB2-CORE-IS-$VERSION_S-1.x86_64.rpm 0 gpl* gpl* linux_x86_64

SD3 DATA-PROTECTOR/OMNI-CS/opt/omni/lbin/mmd hp* 0 0 hpux

SD4 DATA-PROTECTOR/OMNI-CORE-IS/opt/omni/lbin/bmsetup 0 All hp* hpux"

TMPClient="/tmp/omnisetup_client"  # pending packets are here, Client must be installed, if exists

TMPIS="/tmp/omnisetup_IS"          # IS must be installed, if exists

TMPCM="/tmp/omnisetup_CM"          # CM must be installed with uninstallation first, if TMPCM exists

AutoPassHPUX_IA64="HPOvLic-05.51.061-HPUX11.22_IPF64-release.depot"

usage()

{

  echo

  echo "Usage synopsis:"

  echo

  echo "omnisetup.sh -version | -help"

  echo

  echo "omnisetup.sh [-source directory] [-server name] [-install component-list ]"

  echo "             [-IS] [-CM] [-autopass] [-noautopass] [-bundleadd bundlenumber] [-bundlerem bundlenumber]"

  echo

  echo "            component-list:"

  if [ "$SUBPRODUCT" = "AppRM" ]; then #AppRM

  echo "                cc"

  echo "                sap"

  echo "                oracle8"

  echo "                ssea"

  echo "                smisa"

  echo "                docs"

  els


Viewing all articles
Browse latest Browse all 10494

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>