Sha256: 1faa62ede1486e223f2711ed12cd8982a78c070e6b1db14023a6a52b15dbf922

Contents?: true

Size: 1.04 KB

Versions: 13

Compression:

Stored size: 1.04 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" -a "x$CI" != "xtrue"; then
  echo
  echo "WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
  echo
  echo "You are installing a 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

13 entries across 13 versions & 1 rubygems

Version Path
mixlib-install-3.12.11 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.12.7 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.12.5 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.12.3 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.12.1 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.29 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.28 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.26 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.24 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.21 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.18 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.12 lib/mixlib/install/generator/bourne/scripts/install_package.sh
mixlib-install-3.11.11 lib/mixlib/install/generator/bourne/scripts/install_package.sh