Add shebang and follow best practices when using "cd"

revert-b25c0d81
Jordan Geoghegan 2020-01-26 02:12:13 +00:00
parent 103c543a0e
commit 414f630d1b
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
apt install git -y
git clone https://github.com/ShinobiCCTV/Shinobi.git Shinobi
cd Shinobi
cd Shinobi || exit
chmod +x INSTALL/ubuntu-easyinstall.sh && INSTALL/ubuntu-easyinstall.sh
bash INSTALL/ubuntu-easyinstall.sh