Merge branch 'patch-7' into 'dev'

Add shebang and follow best practices when using "cd"

See merge request Shinobi-Systems/Shinobi!155
revert-b25c0d81
Moe 2020-02-07 20:02:53 +00:00
commit 59777596c4
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