Add shebang and follow best practices when using "cd"
parent
103c543a0e
commit
414f630d1b
|
@ -1,5 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
apt install git -y
|
apt install git -y
|
||||||
git clone https://github.com/ShinobiCCTV/Shinobi.git Shinobi
|
git clone https://github.com/ShinobiCCTV/Shinobi.git Shinobi
|
||||||
cd Shinobi
|
cd Shinobi || exit
|
||||||
chmod +x INSTALL/ubuntu-easyinstall.sh && INSTALL/ubuntu-easyinstall.sh
|
chmod +x INSTALL/ubuntu-easyinstall.sh && INSTALL/ubuntu-easyinstall.sh
|
||||||
bash INSTALL/ubuntu-easyinstall.sh
|
bash INSTALL/ubuntu-easyinstall.sh
|
Loading…
Reference in New Issue