[tex-live] No more Koma-Script Updates on CTAN

Norbert Preining preining at logic.at
Tue Nov 11 17:03:27 CET 2008


On Di, 11 Nov 2008, Norbert Preining wrote:
> > I will update the copy on CTAN accordingly, but we (the CTAN team) cannot track 
> > changes to packages unless CTAN updates can be automated.
> 
> I guess I can write a script that checks sarovar or whatever and upload
> it, but I am not sure if I want to do that, after all the insults of
> Kohm's side.

$ cat check-koma.sh
#!/bin/bash
komadl=`mktemp`
wget -q -O - "http://developer.berlios.de/project/showfiles.php?group_id=4307" > $komadl
if grep -q '404 File Not Found' $komadl ; then
	echo "KOMA download page not found!"
	exit 1
fi
release=""
datum=""
while read line; do
	if [[ "$line" =~ release_id=[0-9]*\"\>([^\<]*)\< ]]; then
		release=${BASH_REMATCH[1]}
	fi
	if [[ "$line" =~ koma-script-([-0-9]*)-bin ]]; then
		datum=${BASH_REMATCH[1]}
	fi
	if [ -n "$release" ] && [ -n "$datum" ] ; then
		break
	fi
done < <(cat $komadl)
rm -f $komadl
echo "Current version: $release, date $datum"

$ bash check-koma.sh
Current version: 3.00, date 2008-11-03

Maybe one wants to add another 10 lines that updates automatically to
CTAN.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
WROOT (n.)
A short little berk who thinks that by pulling on his pipe and gazing
shrewdly at you he will give the impression that he is infinitely wise
and 5 ft 11 in.
			--- Douglas Adams, The Meaning of Liff


More information about the tex-live mailing list