#!/bin/sh
# DocumentId:	$Id: dpsch-listbinpkgs,v 1.1 2001/09/01 13:20:15 ola Exp $
# Author:	$Author: ola $
#		Ola Lundqvist <opal@debian.org>
# Summary:
#	This tool creates a file-structure for a
#	system configuration package.

if [ ! -d debian ] ; then
    echo "No debian directory, exiting."
    exit 0
fi

if [ ! -e debian/control ] ; then
    echo "No debian control file, exiting."
    exit 0
fi

cat debian/control | grep "^Package:[[:space:]]" | \
    sed -e "s|^Package:[[:space:]][[:space:]]*||;"
