Sha256: 429ee176604f6ae4fd5cf15617aff75211ada117e31a60b5694e74c7dd49be09

Contents?: true

Size: 1.03 KB

Versions: 55

Compression:

Stored size: 1.03 KB

Contents

# install_package.sh
############
# Installs a package and removed the temp directory.
#
# Inputs:
# $download_filename: Name of the file to be installed.
# $filetype: Type of the file to be installed.
# $version: The version requested. Used only for warning user if not set.
############

if test "x$version" = "x"; then
  echo
  echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
  echo
  echo "You are installing an omnibus package without a version pin.  If you are installing"
  echo "on production servers via an automated process this is DANGEROUS and you will"
  echo "be upgraded without warning on new releases, even to new major releases."
  echo "Letting the version float is only appropriate in desktop, test, development or"
  echo "CI/CD environments."
  echo
  echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
  echo
fi

install_file $filetype "$download_filename"

if test "x$tmp_dir" != "x"; then
  rm -r "$tmp_dir"
fi

############
# end of install_package.sh
############

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
mixlib-install-3.3.1 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.3.0 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.2.2 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.2.1 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.2.0 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.1.0 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.0.0 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.12 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.11 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.10 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-1.2.4 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.9 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.8 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.7 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.6 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.5 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.4 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.3 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.2 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-2.1.1 lib/mixlib/install/generator/bourne/scripts/install_package.sh