Extend distro suppport
Added blackPanther OS specific install strings and requires for use
This commit is contained in:
6
install
6
install
@@ -78,7 +78,9 @@ install_linux () {
|
|||||||
info "Detecting Linux OS distribution..."
|
info "Detecting Linux OS distribution..."
|
||||||
|
|
||||||
Distro=''
|
Distro=''
|
||||||
if [ -f /etc/redhat-release ] ; then
|
if [ -f /etc/blackPanther-release ] ; then
|
||||||
|
Distro='blackPanther'
|
||||||
|
elif [ -f /etc/redhat-release ] ; then
|
||||||
Distro='RedHat'
|
Distro='RedHat'
|
||||||
elif [ -f /etc/debian_version ] ; then
|
elif [ -f /etc/debian_version ] ; then
|
||||||
Distro='Debian'
|
Distro='Debian'
|
||||||
@@ -112,6 +114,8 @@ install_linux () {
|
|||||||
fi
|
fi
|
||||||
elif [ "${Distro}" = "RedHat" ]; then
|
elif [ "${Distro}" = "RedHat" ]; then
|
||||||
sudo yum install -y git make gcc openssl-devel gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel bzip2 autoconf automake libtool bison sqlite-devel nodejs
|
sudo yum install -y git make gcc openssl-devel gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel bzip2 autoconf automake libtool bison sqlite-devel nodejs
|
||||||
|
elif [ "${Distro}" = "blackPanther" ]; then
|
||||||
|
installing --auto git make gcc openssl-devel gcc-c++ patch readline-devel zlib-devel yaml-devel libffi-devel bzip2 autoconf automake libtool bison sqlite-devel nodejs sudo
|
||||||
elif [ "${Distro}" = "Arch" ]; then
|
elif [ "${Distro}" = "Arch" ]; then
|
||||||
sudo pacman -Syu # Updates repo, dependencies, etc.
|
sudo pacman -Syu # Updates repo, dependencies, etc.
|
||||||
sudo pacman -S curl git make openssl gcc readline zlib libyaml sqlite bzip2 autoconf automake libtool bison nodejs # Installs dependencies
|
sudo pacman -S curl git make openssl gcc readline zlib libyaml sqlite bzip2 autoconf automake libtool bison nodejs # Installs dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user