mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
20 lines
223 B
Bash
20 lines
223 B
Bash
|
#!/usr/bin/env -S tea -E
|
||
|
|
||
|
_="
|
||
|
---
|
||
|
args: /bin/sh
|
||
|
---
|
||
|
"
|
||
|
|
||
|
ROOTS=$(ls /opt/tea.xyz/var/pantry/projects)
|
||
|
|
||
|
for x in $ROOTS
|
||
|
do
|
||
|
if [ "X$x" = "X" ]
|
||
|
then
|
||
|
continue
|
||
|
fi
|
||
|
rm -rf /opt/"$x"
|
||
|
done
|
||
|
|
||
|
rm /opt/tea.xyz/var/www/*.tar.?z
|