summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:16:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-06 11:16:12 +0000
commita2b5698fef2cacb5c069ccad1f9372c4283df54c (patch)
treef0175ed9e29276d7df802b5010e112283c3a7bf0 /setup_native
parent8e24aaf349c2c069166c9f864d4c1ee4dc8709a3 (diff)
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
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/scripts/linuxpatchscript.sh13
1 files changed, 13 insertions, 0 deletions
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