diff --git a/guac-upgrade.sh b/guac-upgrade.sh index 3e26566..72cb8bd 100644 --- a/guac-upgrade.sh +++ b/guac-upgrade.sh @@ -92,6 +92,7 @@ do FILEVERSION=$(echo ${FILE} | grep -oP 'upgrade-pre-\K[0-9\.]+(?=\.)') if [[ $(echo -e "${FILEVERSION}\n${OLDVERSION}" | sort -V | head -n1) == ${OLDVERSION} && ${FILEVERSION} != ${OLDVERSION} ]] then + echo "Patching ${DATABASE} with ${FILE}" mysql -u root ${DATABASE} < guacamole-auth-jdbc-${GUACVERSION}/mysql/schema/upgrade/${FILE} fi done