diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 09:43:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 09:43:48 +0000 |
commit | 45883c31c7274fc67bedc4a590d8f2987a792a6a (patch) | |
tree | 6c728e20b450e1c47747ae54cea148b81f720297 /commands/check | |
parent | Initial commit. (diff) | |
download | kernel-wedge-45883c31c7274fc67bedc4a590d8f2987a792a6a.tar.xz kernel-wedge-45883c31c7274fc67bedc4a590d8f2987a792a6a.zip |
Adding upstream version 2.105.upstream/2.105upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | commands/check | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/check b/commands/check new file mode 100755 index 0000000..4b416d1 --- /dev/null +++ b/commands/check @@ -0,0 +1,16 @@ +#!/bin/sh -e +empty= +if [ $# -ge 1 ]; then + packages="$*" +else + packages="$(dh_listpackages -s)" +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 |