From f2a48dda1f3c2db1eff0220c4a3eaa192a144cbc Mon Sep 17 00:00:00 2001
From: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Date: Sat, 15 Mar 2025 19:07:26 +1100
Subject: [PATCH] fix: docker extension removal

by adding a flag because exporting in the docker container is not
avalible.
---
 scripts/commands/extensions/remove.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/commands/extensions/remove.sh b/scripts/commands/extensions/remove.sh
index 149bfeb7..9f21373e 100644
--- a/scripts/commands/extensions/remove.sh
+++ b/scripts/commands/extensions/remove.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 RemoveExtension() {
-  if [[ $USER_CONFIRMED_REMOVAL != "yes" ]]; then
+  if [[ $USER_CONFIRMED_REMOVAL != "yes" || $3 != "-user-confirmed-removal" ]]; then
     PRINT INPUT "Do you want to proceed with this transaction? Some files might not be removed properly. (y/N)"
     hide_progress
     read -r YN