From 3e333e0ea2b31bea5db13a2b71eb05098fe7e64d Mon Sep 17 00:00:00 2001 From: Lincoln Lorenz Date: Mon, 2 Dec 2024 12:35:44 -0500 Subject: [PATCH] Fix cleanup script directory removal failures --- scripts/cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cleanup b/scripts/cleanup index 3291846b0..ff890aa75 100755 --- a/scripts/cleanup +++ b/scripts/cleanup @@ -64,7 +64,7 @@ fi echo -e "reverting amplipi back to stock configuration" ssh $user_host "systemctl --user stop amplipi" -ssh $user_host "rm ~/.config/amplipi/*" # intentionally avoids deleting folders used as mountpoints +ssh $user_host "find ~/.config/amplipi -maxdepth 1 -type f -delete" # intentionally avoids deleting folders used as mountpoints ssh $user_host "systemctl --user start amplipi" echo -e "removing deployments"