Workaround for Non-release versions of FreeRDP

Related: #164
This commit is contained in:
Chase Wright 2021-01-06 11:56:21 -06:00 committed by GitHub
parent 4e1cbc86bb
commit 423625f718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

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