2 # stat(1) each file in .info to see if they exist
4 REPODIR=${1:-/home/pld/admins/th/ftp/test}
6 # expand files from .info file
8 awk -F ':' -vD="$REPODIR/" '
11 print D $2 "/debuginfo/" $3
13 print D $2 "/RPMS/" $3
21 ls -1 $REPODIR/SRPMS/RPMS | sed -rne "s/^((.+)-[^-]+-[^-]+\.src\.rpm)$/\1.info/p" | \
23 for f in $(expand_info $REPODIR/SRPMS/.metadata/$pkg); do
24 if ! stat $f >/dev/null; then
25 echo "!!!: $pkg : $f" >&2