installer dependecies check debian
This commit is contained in:
parent
eb11dc4722
commit
9bee61cd10
28
installer.sh
28
installer.sh
@ -1,4 +1,32 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo "Checking for curl..."
|
||||||
|
if command -v curl > /dev/null; then
|
||||||
|
echo "Detected curl..."
|
||||||
|
else
|
||||||
|
echo "Installing curl"
|
||||||
|
apt-get install -y gnupg
|
||||||
|
|
||||||
|
echo "Checking for jq..."
|
||||||
|
if command -v jq > /dev/null; then
|
||||||
|
echo "Detected jq..."
|
||||||
|
else
|
||||||
|
echo "Installing jq"
|
||||||
|
apt-get install -y jq
|
||||||
|
|
||||||
|
echo "Checking for openssl..."
|
||||||
|
if command -v openssl > /dev/null; then
|
||||||
|
echo "Detected openssl"
|
||||||
|
else
|
||||||
|
echo "Installing openssl"
|
||||||
|
apt-get install -y openssl
|
||||||
|
|
||||||
|
echo "Checking for perl..."
|
||||||
|
if command -v perl > /dev/null; then
|
||||||
|
echo "Detected perl..."
|
||||||
|
else
|
||||||
|
echo "Installing perl"
|
||||||
|
apt-get install -y perl
|
||||||
|
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
git clone https://github.com/shihaamabr/bml-cli.git
|
git clone https://github.com/shihaamabr/bml-cli.git
|
||||||
mkdir -p /opt/sar/bml-cli/
|
mkdir -p /opt/sar/bml-cli/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user