installer - beta2
This commit is contained in:
parent
83f2236eed
commit
e284af1de6
@ -1,10 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /tmp/
|
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/
|
mkdir -p /opt/sar/bml-cli/
|
||||||
|
rm /opt/sar/bml-cli/*
|
||||||
mv bml-cli/* /opt/sar/bml-cli/
|
mv bml-cli/* /opt/sar/bml-cli/
|
||||||
touch /usr/bin/bml-cli
|
touch /usr/bin/bml-cli
|
||||||
echo "#!/bin/bash" > /usr/bin/bml-cli
|
echo "#!/bin/bash" > /usr/bin/bml-cli
|
||||||
echo "source /opt/sar/bml-cli/bml.sh" >> /usr/bin/bml-cli
|
echo "source /opt/sar/bml-cli/bml.sh" >> /usr/bin/bml-cli
|
||||||
chmod 755 /usr/bin/bml-cli
|
chmod 755 /usr/bin/bml-cli
|
||||||
|
rm -rf bml-cli/
|
||||||
echo "Installation Complete"
|
echo "Installation Complete"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user