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
1 changed files with 3 additions and 3 deletions

View File

@ -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