From ffb720ff3f08f5bd59ad77a45d89c3ac3b4d4621 Mon Sep 17 00:00:00 2001 From: royjr Date: Fri, 17 Jan 2025 00:08:55 -0500 Subject: [PATCH] only agnos --- tools/op.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/op.sh b/tools/op.sh index cd08419a57..21ea901464 100755 --- a/tools/op.sh +++ b/tools/op.sh @@ -334,7 +334,9 @@ function op_switch() { git clean -df git submodule update --init --recursive git submodule foreach git reset --hard - git submodule foreach git clean -df + if [[ -f "/AGNOS" ]]; then + git submodule foreach git clean -df + fi } function op_start() {