From 37cd8a69fdfccebc53bb5f815ff9674852e66db3 Mon Sep 17 00:00:00 2001 From: Jordan Geoghegan Date: Sun, 26 Jan 2020 02:09:52 +0000 Subject: [PATCH] Add shebang line and follow best practices when using "cd" --- INSTALL/autoinstall-ubuntu-latest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL/autoinstall-ubuntu-latest.sh b/INSTALL/autoinstall-ubuntu-latest.sh index 0ae4853b..d4ace473 100644 --- a/INSTALL/autoinstall-ubuntu-latest.sh +++ b/INSTALL/autoinstall-ubuntu-latest.sh @@ -1,5 +1,7 @@ +#!/bin/sh + apt install git -y git clone https://github.com/ShinobiCCTV/Shinobi.git -b dev Shinobi-dev -cd Shinobi-dev +cd Shinobi-dev || exit chmod +x INSTALL/ubuntu-easyinstall.sh && INSTALL/ubuntu-easyinstall.sh bash INSTALL/ubuntu-easyinstall.sh \ No newline at end of file