diff options
author | Karl Berry <karl@freefriends.org> | 2008-05-08 21:19:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-05-08 21:19:48 +0000 |
commit | 6a0b0313821b09b39711e640cdaacb79f85606eb (patch) | |
tree | 1fd687d4d8d51601ea85a9fda22159801aadc46a /Master/tlpkg | |
parent | a0aba25cd2b0ddd52fc66226b99a3eb3a3a5abc5 (diff) |
stub shell script already implemented in the check-* scripts
git-svn-id: svn://tug.org/texlive/trunk@7950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/bin/tlpdb-check | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Master/tlpkg/bin/tlpdb-check b/Master/tlpkg/bin/tlpdb-check deleted file mode 100755 index a91cf6496fc..00000000000 --- a/Master/tlpkg/bin/tlpdb-check +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# $Id$ -# Copyright 2007 Karl Berry -# This file is licensed under the GNU General Public License version 2 -# or any later version. -# -# Check that tlpdb contains all the files in the trees, exactly once. -# also that collections don't have files. - -cd `dirname $0`/../.. || exit 1 - -tlpdb=tlpkg/texlive.tlpdb - -if test ! -s $tlpdb; then - echo "$0: no (nonempty) $tlpdb in $0, goodbye." >&2 - exit 1 -fi - -: ${TMPDIR=/tmp} -trap "rm -f $TMPDIR/tlpdb*" 0 1 2 15 - -# Get list of files. -tlpdbfiles=$TMPDIR/tlpdbfiles.$$ -grep '^ ' $tlpdb | sort >$tlpdbfiles - -echo "$0: checking duplicates..." -# GNU uniq makes it simple. -uniq --repeated $tlpdbfiles - -echo "$0: checking coverage...(long)" -dirs=bin -diskfiles=$TMPDIR/tlpdbdisk.$$ -find $dirs -name .svn -prune -o \( \( -type f -o -type l \) -print \) | sed 's/^/ /' | sort | tee /tmp/x >$diskfiles - -comm -3 $tlpdbfiles $diskfiles - |