mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 19:19:51 +00:00
49495e9b06
By recording each package's archive-entry separately we are able to build each recipe independently and then compile the archive contents afterwards.
24 lines
464 B
Bash
Executable file
24 lines
464 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
# Service for reporting missing and old packages.
|
|
|
|
export HOME=/home/melpa
|
|
|
|
BODY=`mktemp`
|
|
|
|
cd ${HOME}/melpa
|
|
|
|
echo "To: MP <dcurtis@milkbox.net>" > ${BODY}
|
|
echo "Subject: [MELPA] `date "+%Y%m%d %H:%M %z"`" >> ${BODY}
|
|
echo >> ${BODY}
|
|
echo "# Old Packages" >> ${BODY}
|
|
echo >> ${BODY}
|
|
scripts/expired >> ${BODY}
|
|
echo >> ${BODY}
|
|
echo "# Missing Packages" >> ${BODY}
|
|
echo >> ${BODY}
|
|
scripts/missing >> ${BODY}
|
|
|
|
/usr/sbin/sendmail -t < ${BODY}
|
|
|
|
sleep 12h
|