#!/bin/sh -e set -e yum install -y redhat-lsb if [ "`whoami`" != "root" ] ; then echo "$0: You need to be root to run this script." exit 1 fi DISTRO=$(lsb_release -si) VERSION=$(lsb_release -sr) ARCH=$(uname -m) if [ "$DISTRO" != "Fedora" ] ; then echo "$0: Error, distro is '$DISTRO', this script is for Fedora" exit 1 fi if [ "$VERSION" != "12" ] ; then echo <