More entries in the feed
This commit is contained in:
parent
930eba4d6c
commit
69a046ec88
@ -16,6 +16,7 @@ else
|
||||
TMPDIFF=`mktemp`
|
||||
fi
|
||||
MAINTAINER=bortzmeyer@langtag.net
|
||||
ME=$(hostname -f)
|
||||
|
||||
# Conversions
|
||||
CONVERT_XML_BORTZMEYER=${PROGRAMS_DIR}/registry2xml
|
||||
@ -59,7 +60,7 @@ if [ -e ${LTR_LOCAL}.TMP ]; then
|
||||
if [ -e ${LTR_LOCAL} ]; then
|
||||
diff -u ${LTR_LOCAL} ${LTR_LOCAL}.TMP > $TMPDIFF
|
||||
if [ ! -z $TMPDIFF ]; then
|
||||
mutt -s "New LTR registry at ${MYURL}" ${MAINTAINER} < $TMPDIFF
|
||||
mutt -s "New LTR registry at ${MYURL} seen on ${ME}" ${MAINTAINER} < $TMPDIFF
|
||||
fi
|
||||
fi
|
||||
mv ${LTR_LOCAL}.TMP ${LTR_LOCAL}
|
||||
@ -84,7 +85,7 @@ if [ -e ${LTR_LOCAL}.TMP ]; then
|
||||
echo $version > ${LTR_LOCAL}-version
|
||||
exit 0
|
||||
else
|
||||
cat ${OUTPUT} | mutt -s "Invalid registry ${LTR_URL}" ${MAINTAINER}
|
||||
cat ${OUTPUT} | mutt -s "Invalid registry ${LTR_URL} seen on ${ME}" ${MAINTAINER}
|
||||
exit 1
|
||||
fi
|
||||
else # File not downloaded, probably because there was nothing new.
|
||||
|
@ -14,7 +14,7 @@ import datetime
|
||||
# External libraries
|
||||
import psycopg2
|
||||
|
||||
max = 10
|
||||
max = 30
|
||||
|
||||
db_module = psycopg2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user