File: check

package info (click to toggle)
kernel-wedge 2.74%2Bsqueeze4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 680 kB
  • ctags: 10
  • sloc: perl: 319; sh: 269; makefile: 21
file content (11 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e
empty=
for pkg in $(dh_listpackages -s); do
	if [ -z  "$(find debian/$pkg -type f)" ]; then
		echo "$pkg will be empty" >&2
		empty=1
	fi
done
if [ "$empty" ]; then
	exit 1
fi