/usr/share/kernel-wedge/commands/check is in kernel-wedge 2.90ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh -e
empty=
if [ $# -ge 1 ]; then
packages="$*"
else
packages="$(dh_listpackages -s | grep -- '-di$')"
fi
for pkg in $packages; do
if [ -z "$(find debian/$pkg -type f)" ]; then
echo "$pkg will be empty" >&2
empty=1
fi
done
if [ "$empty" -a -z "$KW_CHECK_NONFATAL" ]; then
exit 1
fi
|