summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/update-tlpdb
blob: 12b7c3504b4683b6dfa353775fdf49eb33b6cbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# Copyright 2007 Norbert Preining
# This file is licensed under the GNU General Public Licence 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.pl tlpkg/tlpsrc/*.tlpsrc >texlive.tlpdb.new
mv texlive.tlpdb texlive.tlpdb.saved
mv texlive.tlpdb.new texlive.tlpdb