summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpdb-update
blob: b6a79cfc891795212e155f9ff58b07838c85090b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# $Id$
# Copyright 2007 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
# 
# Make new database by calling the tlpsrc -> tlpdb script on all
# the tlpsrc files.

unset CDPATH
cd `dirname $0`/../.. || exit 1

perl tlpkg/bin/tlpsrc2tlpdb tlpkg/tlpsrc/*.tlpsrc >texlive.tlpdb.new
mv texlive.tlpdb ${TMPDIR-/tmp}/texlive.tlpdb.saved
mv texlive.tlpdb.new texlive.tlpdb