11 lines
319 B
Bash
11 lines
319 B
Bash
#!/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"
|