From a2b5698fef2cacb5c069ccad1f9372c4283df54c Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 6 Jul 2007 11:16:12 +0000 Subject: INTEGRATION: CWS c09tosrc (1.7.76); FILE MERGED 2007/07/04 13:51:14 is 1.7.76.1: #148649# Sun search toolbar for Linux --- setup_native/scripts/linuxpatchscript.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'setup_native/scripts') diff --git a/setup_native/scripts/linuxpatchscript.sh b/setup_native/scripts/linuxpatchscript.sh index 208b51cabca5..3ed2a917b9d7 100644 --- a/setup_native/scripts/linuxpatchscript.sh +++ b/setup_native/scripts/linuxpatchscript.sh @@ -42,6 +42,19 @@ done BOOTSTRAPRC="${PRODUCTINSTALLLOCATION}/program/bootstraprc" USERINST=`grep UserInstallation ${BOOTSTRAPRC}` +# Check, if searchtoolbar extension rpm is available +SEARCHTOOLBARRPM=`ls $BASEDIR/RPMS/*.rpm | grep searchtoolbar` + +if [ "x$SEARCHTOOLBARRPM" != "x" ]; then + # Check, that $RPMLIST does not contain search toolbar rpm (then it is already installed) + SEARCHTOOLBARINSTALLED=`grep searchtoolbar ${RPMLIST}` + + if [ "x$SEARCHTOOLBARINSTALLED" == "x" ]; then + # Install the online update rpm + RPMLIST="$RPMLIST $SEARCHTOOLBARRPM" + fi +fi + echo rpm --upgrade -v --hash --prefix $PRODUCTINSTALLLOCATION --notriggers $RPMLIST echo -- cgit