This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will install specific versions of Python on Ubuntu Linux servers | |
if [ "$(whoami)" != "root" ]; then | |
echo "WARNING: You must run this script as 'root'" | |
# This shortcut method will fail if the script file does not have execute permissions | |
exec sudo -- "$0" "$@" | |
fi | |
inputVersion=$1 | |
if [[ $inputVersion == "" ]]; then |
NewerOlder