From 549c548e7cc8f99da37b931b6aa991093f097fd7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 19 Sep 2022 14:16:08 +0200 Subject: Commit WIP --- scenarios/clean | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scenarios/clean') diff --git a/scenarios/clean b/scenarios/clean index 325edec..9d23543 100755 --- a/scenarios/clean +++ b/scenarios/clean @@ -4,5 +4,7 @@ import os from fragments import garage, shared garage.destroy() +if len(shared.storage_path) > 8 and shared.id() == 1: + shared.exec(f"rm -r {shared.storage_path}") shared.log("clean done") -- cgit v1.2.3