updated

This commit is contained in:
2024-11-29 16:09:45 +01:00
parent f3bf9e0612
commit 5e7e5b6f33
16 changed files with 102 additions and 66 deletions

View File

@@ -78,7 +78,7 @@ function removePack(path){
s.cd(dirs.pack);
s.$("-V").rm("-rf", path);
const root= dirs.pack+path.split("/")[0];
const { code, stdout }= s.$().find(root+"/*/*");
const { code, stdout }= s.$("-Sf").find(root+"/*/*");
if(!code) echo(stdout);
else if(s.test("-d", root))
s.$("-V").rm("-rf", root);