From 7559b5e8cb776a425d7f5dcea238627920f4bc72 Mon Sep 17 00:00:00 2001 From: Chen Su Date: Tue, 15 Oct 2024 10:21:55 +0800 Subject: [PATCH] Clean command removes version caches Signed-off-by: Chen Su --- dvm.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dvm.sh b/dvm.sh index fca28ac..501a7ae 100755 --- a/dvm.sh +++ b/dvm.sh @@ -532,6 +532,11 @@ export DVM_VERSION="v0.8.3" rmdir "$cache_path" done } + + if [ -d "$DVM_DIR/cache" ] + then + rm -rf "$DVM_DIR/cache" + fi } #####################