added installer

This commit is contained in:
Shihaam Abdul Rahman 2021-05-20 06:22:54 +05:00
parent 37c2cb504a
commit f78876b2a6

10
installer.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
cd /tmp/
git clone https://github.com/shihaamabr/bml-cli.git
mkdir -p /opt/sar/bml-cli/
mv bml-cli/* /opt/sar/bml-cli/
echo "#!/bin/bash" > /usr/bin/bml-cli
echo "source /opt/sar/bml-cli/bml-cli.sh" >> /usr/bin/bml-cli
chmod 755 /usr/bin/bml-cli
rm -rf bml-cli/
echo "Installation Complete"