mirror of
https://github.com/jwetzell/docker-guacamole.git
synced 2026-09-11 00:59:35 +00:00
update extension cleaning
This commit is contained in:
@@ -1,7 +1,12 @@
|
|||||||
#!/usr/bin/with-contenv sh
|
#!/usr/bin/with-contenv sh
|
||||||
|
|
||||||
# clean up extensions
|
echo "Cleaning Extensions from previous Guacamole versions"
|
||||||
for i in auth-ldap auth-duo auth-header auth-cas auth-openid auth-quickconnect auth-totp; do
|
for e in $(ls -1 ${GUACAMOLE_HOME}/extensions | grep -v ${GUAC_VER}); do
|
||||||
|
rm ${GUACAMOLE_HOME}/extensions/${e}
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Cleaning Extensions"
|
||||||
|
for i in auth-duo auth-header auth-json auth-ldap auth-quickconnect auth-sso-cas auth-sso-openid auth-sso-saml auth-totp history-recording-storage vault-ksm; do
|
||||||
rm -rf ${GUACAMOLE_HOME}/extensions/guacamole-${i}-${GUAC_VER}.jar
|
rm -rf ${GUACAMOLE_HOME}/extensions/guacamole-${i}-${GUAC_VER}.jar
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user