From 52d372ae07b7f59daca6652c38f5394119f75098 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Fri, 5 Apr 2024 09:49:26 -0500 Subject: [PATCH] only delete guacamole jars --- root/etc/cont-init.d/50-extensions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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