mirror of
https://github.com/MysticRyuujin/guac-install.git
synced 2023-10-10 13:36:56 +02:00
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:
parent
ca284a22ff
commit
7c5c863c70
@ -127,12 +127,6 @@ ghostscript wget dpkg-dev
|
|||||||
echo -e "${GREEN}OK${NC}"
|
echo -e "${GREEN}OK${NC}"
|
||||||
fi
|
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
|
# Set SERVER to be the preferred download server from the Apache CDN
|
||||||
SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${GUACVERSION}"
|
SERVER="http://apache.org/dyn/closer.cgi?action=download&filename=guacamole/${GUACVERSION}"
|
||||||
echo -e "${BLUE}Downloading Files...${NC}"
|
echo -e "${BLUE}Downloading Files...${NC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user