From 7c5c863c7076ab7923d9f293cd051f6dd34c3cef Mon Sep 17 00:00:00 2001 From: d3nisko Date: Sun, 23 Sep 2018 14:39:31 +0200 Subject: [PATCH] Update guac-install.sh (#49) This if statement is redundant. It will never work because of previous if statement. As there is if/else the error code will always be 0, so this if will never return anything. --- guac-install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/guac-install.sh b/guac-install.sh index f21a1c9..4da5622 100644 --- a/guac-install.sh +++ b/guac-install.sh @@ -127,12 +127,6 @@ ghostscript wget dpkg-dev echo -e "${GREEN}OK${NC}" fi -# If apt fails to run completely the rest of this isn't going to work... -if [ $? -ne 0 ]; then - echo -e "${RED}apt-get failed to install all required dependencies${NC}" - exit 1 -fi - # Set SERVER to be the preferred download server from the Apache CDN SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${GUACVERSION}" echo -e "${BLUE}Downloading Files...${NC}"