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.
This commit is contained in:
d3nisko 2018-09-23 14:39:31 +02:00 committed by Chase Wright
parent ca284a22ff
commit 7c5c863c70
1 changed files with 0 additions and 6 deletions

View File

@ -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}"