mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
- Temp files were deleted before schema upgrade could access them - Fixes update script failing on MySQL schema upgrade step
This commit is contained in:
committed by
GitHub
parent
379faaa3d6
commit
56c2e6cf1c
@@ -92,7 +92,6 @@ function update_script() {
|
||||
curl -fsSL "https://downloads.apache.org/guacamole/${LATEST_SERVER}/binary/guacamole-auth-jdbc-${LATEST_SERVER}.tar.gz" -o "/tmp/guacamole-auth-jdbc.tar.gz"
|
||||
$STD tar -xf /tmp/guacamole-auth-jdbc.tar.gz -C /tmp
|
||||
mv /tmp/guacamole-auth-jdbc-"${LATEST_SERVER}"/mysql/guacamole-auth-jdbc-mysql-"${LATEST_SERVER}".jar /etc/guacamole/extensions/
|
||||
rm -rf /tmp/guacamole-auth-jdbc*
|
||||
echo "${LATEST_SERVER}" >~/.guacamole_auth_jdbc
|
||||
msg_ok "Updated Guacamole Auth JDBC"
|
||||
else
|
||||
@@ -140,6 +139,7 @@ function update_script() {
|
||||
fi
|
||||
done
|
||||
fi
|
||||
rm -rf /tmp/guacamole-auth-jdbc*
|
||||
msg_ok "MySQL Schema updated"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user