diff --git a/root/etc/cont-init.d/50-extensions.sh b/root/etc/cont-init.d/50-extensions.sh index a38633b..9f2904c 100644 --- a/root/etc/cont-init.d/50-extensions.sh +++ b/root/etc/cont-init.d/50-extensions.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv sh echo "Cleaning Extensions from previous Guacamole versions" -for e in $(ls -1 ${GUACAMOLE_HOME}/extensions | grep -v ${GUAC_VER}); do +for e in $(ls -1 ${GUACAMOLE_HOME}/extensions | grep guacamole | grep -v ${GUAC_VER}); do rm ${GUACAMOLE_HOME}/extensions/${e} done