mknet/scenarios/clean
2022-09-19 14:16:08 +02:00

10 lines
217 B
Python
Executable file

#!/usr/bin/env python3
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")