This commit is contained in:
Alarig Le Lay 2018-05-22 00:54:59 +02:00
vanhempi 46ffd79c1a
commit ad68d64e33
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa

Näytä tiedosto

@ -18,6 +18,8 @@ if [ "$(grep '\[ebuild U' ${TMP_FILE})" != '' ]; then
echo "Subject: $(hostname -f):$(grep Total: ${TMP_FILE} \
| cut -d ':' -f 2 | cut -d ')' -f 1))" >> ${MAIL}
echo "Content-Type: text/plain; charset=UTF-8" >> ${MAIL}
echo "Date: $(date --rfc-email)" >> ${MAIL}
printf "\n" >> ${MAIL}
cat ${TMP_FILE} >> ${MAIL}
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then