summaryrefslogtreecommitdiff
path: root/setup_native/scripts/install_linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/scripts/install_linux.sh')
-rw-r--r--setup_native/scripts/install_linux.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/setup_native/scripts/install_linux.sh b/setup_native/scripts/install_linux.sh
index c33fe989554f..12801b62f4fe 100644
--- a/setup_native/scripts/install_linux.sh
+++ b/setup_native/scripts/install_linux.sh
@@ -10,10 +10,10 @@ help()
{
echo
echo "User Mode Installation script for developer and knowledgeable early access tester"
- echo
+ echo
echo "This installation method is not intended for use in a production environment!"
echo "Using this script is unsupported and completely at your own risk"
- echo
+ echo
echo "Usage:" $0 [-lU] "<rpm-source-dir> <office-installation-dir>"
echo " <rpm-source-dir>: directory *only* containing the Linux rpm packages to be installed"
echo " or language pack shell script containing the rpm packages"
@@ -43,9 +43,9 @@ try_to_unpack_languagepack_file()
else
printf "\nERROR: First parameter $FILENAME is a file, but no language pack shell script.\n"
echo $USAGE
- exit 2
+ exit 2
fi
-
+
echo "Unpacking shell script $FILENAME"
TAILLINE=`head --lines=20 $FILENAME | sed --quiet 's/linenum=//p'`
@@ -56,7 +56,7 @@ try_to_unpack_languagepack_file()
# Setting the new package path, in which the packages exist
PACKAGE_PATH=$UNPACKDIR
-
+
# Setting variable UPDATE, because an Office installation has to exist, if a language pack shall be installed
UPDATE="yes"
}
@@ -100,7 +100,7 @@ fi
PACKAGE_PATH=$1
#
-# If the first parameter is a shell script (download installation set), the packages have to
+# If the first parameter is a shell script (download installation set), the packages have to
# be unpacked into temp directory
#
@@ -130,7 +130,7 @@ else
fi
#
-# Determine whether this should be an update or a fresh install
+# Determine whether this should be an update or a fresh install
#
INSTALLDIR=$2
@@ -139,7 +139,7 @@ RPM_DB_PATH=${INSTALLDIR}/var/lib/rpm
# Check for versionrc
if [ -f ${INSTALLDIR}/program/versionrc ]; then VERSIONRC=versionrc; fi
-if [ "$UPDATE" = "ask" ]
+if [ "$UPDATE" = "ask" ]
then
PRODUCT=`sed --silent -e "
/^buildid=/ {
@@ -198,7 +198,7 @@ then
if [ ! "${RPM_DB_PATH:0:1}" = "/" ]; then
RPM_DB_PATH=`cd ${RPM_DB_PATH}; pwd`
fi
-
+
# we should use --freshen for updates to not add languages with patches, but this will break
# language packs, so leave it for now ..
# RPMCMD="--freshen"
@@ -225,7 +225,7 @@ else
if [ "$ADD" = "no" ]; then
rpm --initdb --dbpath $RPM_DB_PATH
fi
-
+
# Default install command
RPMCMD="--install"
fi
@@ -245,7 +245,7 @@ for i in $RPMLIST ; do
done
#
-# Perform the installation
+# Perform the installation
#
echo