From 423625f718d28fae62b6598a7fef28a648c1c609 Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Wed, 6 Jan 2021 11:56:21 -0600 Subject: [PATCH] Workaround for Non-release versions of FreeRDP Related: #164 --- guac-upgrade.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guac-upgrade.sh b/guac-upgrade.sh index ae1b20b..84718ea 100755 --- a/guac-upgrade.sh +++ b/guac-upgrade.sh @@ -125,6 +125,15 @@ fi # Upgrade Guacamole Server cd guacamole-server-${GUACVERSION} ./configure --with-init-dir=/etc/init.d +if [ $? -ne 0 ]; then + 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 +fi make make install