From 96e767558931012e830f562ba664727da374445b Mon Sep 17 00:00:00 2001 From: marius137 Date: Tue, 19 Jan 2021 23:25:08 +0100 Subject: [PATCH] Workaround for Non-release versions of FreeRDP (#166) * Workaround for Non-release versions of FreeRDP took the workaround from the upgrade script and put it in the install script * fixed syntax error --- guac-install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/guac-install.sh b/guac-install.sh index d5dc47e..0206da0 100755 --- a/guac-install.sh +++ b/guac-install.sh @@ -412,8 +412,13 @@ echo -e "${BLUE}Building Guacamole-Server with GCC $( gcc --version | head -n1 | echo -e "${BLUE}Configuring Guacamole-Server. This might take a minute...${NC}" ./configure --with-init-dir=/etc/init.d &>> ${LOG} if [ $? -ne 0 ]; then - echo -e "${RED}Failed. See ${LOG}${NC}" 1>&2 - exit 1 + echo "Failed to configure guacamole-server" + echo "Trying again with --enable-allow-freerdp-snapshots" + ./configure --with-init-dir=/etc/init.d --enable-allow-freerdp-snapshots + if [ $? -ne 0 ]; then + echo "Failed to configure guacamole-server - again" + exit + fi else echo -e "${GREEN}OK${NC}" fi