forked from varia/varia.website
Add clean
This commit is contained in:
parent
1270fffba9
commit
1e942fed10
10
clean
Executable file
10
clean
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import subprocess
|
||||
|
||||
paths = [p for p in os.listdir(".") if os.path.isdir(p) and "Makefile" in os.listdir(p)]
|
||||
|
||||
for path in paths:
|
||||
subprocess.run("rm -rf /var/www/manymanymany-varia-websites/{}".format(path), shell=True)
|
Loading…
Reference in New Issue
Block a user