Improving clean script, oldie breaks the build.
This commit is contained in:
parent
440b66ef6e
commit
09ba994d38
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
for d in /tmp /var/tmp /var/log; do
|
rm -rf /tmp/*
|
||||||
find ${d} -mindepth 1 -exec rm -rf {} +
|
rm -rf /var/tmp
|
||||||
done
|
find /var/log -type f -delete
|
||||||
rm -rf /etc/resolv.conf
|
rm -rf /etc/resolv.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user