installer - beta2

This commit is contained in:
Shihaam Abdul Rahman 2021-05-03 22:30:20 +05:00
parent 83f2236eed
commit e284af1de6

View File

@ -1,10 +1,12 @@
#!/bin/bash
cd /tmp/
git clone https://github.com/shihaamabr/bml-cli.git 1> /dev/null
git clone https://github.com/shihaamabr/bml-cli.git
mkdir -p /opt/sar/bml-cli/
rm /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
rm -rf bml-cli/
echo "Installation Complete"