Improving clean script, oldie breaks the build.

This commit is contained in:
sergiotarxz 2022-05-04 22:34:52 +02:00
parent 440b66ef6e
commit 09ba994d38

View File

@ -1,6 +1,6 @@
#!/bin/bash -e
for d in /tmp /var/tmp /var/log; do
find ${d} -mindepth 1 -exec rm -rf {} +
done
rm -rf /tmp/*
rm -rf /var/tmp
find /var/log -type f -delete
rm -rf /etc/resolv.conf