summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/scripts/install_linux.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup_native/scripts/install_linux.sh b/setup_native/scripts/install_linux.sh
index 8f7761792280..a37843f6e22f 100644
--- a/setup_native/scripts/install_linux.sh
+++ b/setup_native/scripts/install_linux.sh
@@ -88,6 +88,9 @@ fi
INSTALLDIR=$2
RPM_DB_PATH=${INSTALLDIR}/.RPM_OFFICEDATABASE
+# Check for versionrc
+if [ -f ${INSTALLDIR}/program/versionrc ]; then VERSIONRC=versionrc; fi
+
if [ "$UPDATE" = "ask" ]
then
PRODUCT=`sed --silent -e "
@@ -99,7 +102,7 @@ h
s/ProductKey=//
G
p
-}" ${INSTALLDIR}/program/bootstraprc 2>/dev/null | tr -d "\012"`
+}" ${INSTALLDIR}/program/${VERSIONRC:-bootstraprc} 2>/dev/null | tr -d "\012"`
if [ ! -z "$PRODUCT" ]
then