mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
55eb7dc5e4
Refactor build a bit. This was causing build failure for GHC on linux as the system perl didn't have something autoconf needed. TODO: infuser shouldn't have perl installed!
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 |