From b8a9eecaf4036116dcf0c16638b7045ace92a06c Mon Sep 17 00:00:00 2001 From: blackPanther OS Date: Thu, 15 Apr 2021 10:43:04 +0200 Subject: [PATCH] Extend distro suppport Added blackPanther OS specific install strings and requires for use --- install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install b/install index b61e95422..652aa1719 100755 --- a/install +++ b/install @@ -78,7 +78,9 @@ install_linux () { info "Detecting Linux OS distribution..." Distro='' - if [ -f /etc/redhat-release ] ; then + if [ -f /etc/blackPanther-release ] ; then + Distro='blackPanther' + elif [ -f /etc/redhat-release ] ; then Distro='RedHat' elif [ -f /etc/debian_version ] ; then Distro='Debian' @@ -112,6 +114,8 @@ install_linux () { fi 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 + 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 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