Codebase list live-build / debian/20170213 share / hooks / normal / 0140-remove-log-files.hook.chroot
debian/20170213

Tree @debian/20170213 (Download .tar.gz)

0140-remove-log-files.hook.chroot @debian/20170213raw · history · blame

1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

# Truncate log files
for _FILE in $(find /var/log/ -type f)
do
	: > ${_FILE}
done