Sha256: eb889bf1a2dc333caff8b02bdf8fa9d1a144f68bfd02b4fafaf4a8b6be19cd41
Contents?: true
Size: 921 Bytes
Versions: 6
Compression:
Stored size: 921 Bytes
Contents
#!/bin/sh - cd `mktemp -d` # We just download the bootstrap script by default and execute that. if [ -x /usr/bin/fetch ]; then /usr/bin/fetch -o bootstrap-salt.sh https://bootstrap.saltproject.io elif [ -x /usr/bin/curl ]; then /usr/bin/curl --silent --show-error -L --output bootstrap-salt.sh https://bootstrap.saltproject.io elif [ -x /usr/bin/wget ]; then /usr/bin/wget -O bootstrap-salt.sh https://bootstrap.saltproject.io elif [ "2" = `python -c 'import sys; sys.stdout.write(str(sys.version_info.major))'` ]; then # TODO: remove after there is no supported distros with Python 2 python -c 'import urllib; urllib.urlretrieve("https://bootstrap.saltproject.io", "bootstrap-salt.sh")' else python -c 'import urllib.request; urllib.request.urlretrieve("https://bootstrap.saltproject.io", "bootstrap-salt.sh")' fi if [ -e bootstrap-salt.sh ]; then sh bootstrap-salt.sh "$@" else exit 1 fi
Version data entries
6 entries across 6 versions & 1 rubygems