local BUILDVER MAINLINEVER NEEDSUPDATE NEWER PACKAGE
local SENDMESG=0
if [ "${UPDATE_NOTIFY}" != "" ]; then
for PACKAGE in ${MUSTCHECK[*]}; do
if [ "${UPDATENOTIFY}" != "" ]; then
for PACKAGE in ${CHECKPACKAGES[*]}; do
makeCleanDirectory ${TRASHDIR}/ebuilds
makeDirectory ${TRASHDIR}/ebuilds/build
makeDirectory ${TRASHDIR}/ebuilds/mainline
@ -28,7 +28,7 @@ ezsync_postcommit() {
done
rm -rf ${TRASHDIR}/ebuilds
if isEnabled ${SENDMSG}; then
echo "The following packages needs your attention, because they probably has been updated in mainline Portage tree: ${NEEDSUPDATE}" | mailx -s "Packages need an update!" ${UPDATE_NOTIFY}
echo "The following packages needs your attention, because they probably has been updated in mainline Portage tree: ${NEEDSUPDATE}" | mailx -s "Packages need an update!" ${UPDATENOTIFY}