From e284af1de6065977951b762cb9fdc6cb5330b954 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 3 May 2021 22:30:20 +0500 Subject: [PATCH] installer - beta2 --- installer.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index 74fa177..f56c36f 100644 --- a/installer.sh +++ b/installer.sh @@ -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"