#!/bin/sh

# Prepare a fresh version of the tags database

echo "Exporting a new version of the reviewed tags from SVN..."

if ! svn cat svn://svn.debian.org/svn/debtags/tagdb/tags | tagcoll copy | gzip -9 > tags-current.gz
then
	echo "Cannot find a good source to generate tags-current.gz" >&2
	exit 1
fi
exit 0
