From 414f630d1b216105c12de7ef351bd4d41a683438 Mon Sep 17 00:00:00 2001 From: Jordan Geoghegan Date: Sun, 26 Jan 2020 02:12:13 +0000 Subject: [PATCH] Add shebang and follow best practices when using "cd" --- INSTALL/autoinstall-ubuntu-stable.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL/autoinstall-ubuntu-stable.sh b/INSTALL/autoinstall-ubuntu-stable.sh index 6dc12bdd..b7f10245 100644 --- a/INSTALL/autoinstall-ubuntu-stable.sh +++ b/INSTALL/autoinstall-ubuntu-stable.sh @@ -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 \ No newline at end of file