installer - beta

This commit is contained in:
Shihaam Abdul Rahman
2021-05-03 22:19:12 +05:00
parent 2387c561e7
commit 83f2236eed
2 changed files with 13 additions and 0 deletions

10
installer.sh Normal file
View File

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