VirtualBox

Changeset 72908 in vbox for trunk/tools


Ignore:
Timestamp:
Jul 5, 2018 8:38:20 AM (6 years ago)
Author:
vboxsync
Message:

prerequisites-rpm.sh: clean up script and convert --no-docs parameter to --with-docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/prerequisites-rpm.sh

    r72787 r72908  
    1919# What this script does:
    2020usage_msg="\
    21 Usage: `basename ${0}` [--no-docs]
     21Usage: `basename ${0}` [--with-docs]
    2222
    23 Install the dependencies needed for building VirtualBox on a Linux
    24 system.  Initial support for Enterprise Linux derivatives, additional
    25 distributions will be added as needed.  There are no plans to add
    26 support for or to accept patches for distributions we do not package.
    27 The \`--no-docs\' parameter is used to prevent installation of TeX
    28 packages.  Installing TeX is not supported on EL5, so the flag is
    29 ignored there."
     23Install the dependencies needed for building VirtualBox on an RPM-based Linux
     24system.  Additional distributions will be added as needed.  There are no plans
     25to add support for or to accept patches for distributions we do not package.
     26The \`--docs\' parameter is to install the packages needed for building
     27documentation.  It will also be implemented per distribution as needed."
    3028
    3129# To repeat: there are no plans to add support for or to accept patches
    32 # for distributions we do bot package.
     30# for distributions we do not package.
    3331
    34 unset NODOCS
     32unset WITHDOCS
    3533egrepignore=\
    3634"Setting up Install Process|already installed and latest version|Nothing to do"
     
    4442while test -n "${1}"; do
    4543    case "${1}" in
    46     --no-docs)
    47         NODOCS=1
     44    --with-docs)
     45        WITHDOCS=1
    4846        shift ;;
    4947    -h|--help)
     
    5553done
    5654
    57 LC_ALL=C
    58 export LC_ALL
     55export LC_ALL=C
    5956PATH=/sbin:/usr/sbin:$PATH
    6057
     
    7471      glibc-static zlib-static glibc-devel.i686 libstdc++.i686 \
    7572      qt5-qttools-devel qt5-qtx11extras-devel | egrep -v  "${egrepignore}"
    76     if test -z "$NODOCS"; then
     73    if test -n "$WITHDOCS"; then
    7774      yum install texlive-latex texlive-latex-bin texlive-ec \
    7875        texlive-pdftex-def texlive-fancybox device-mapper-devel |
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette