File: check-long-description

package info (click to toggle)
roundcube-plugins-extra 1.4.10%2B1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,776 kB
  • sloc: php: 4,711; javascript: 2,238; xml: 120; makefile: 94; sh: 79; awk: 51; python: 43
file content (17 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

. debian/scripts/plugin-functions.sh

MISSING=""
for plugin in $(get_plugins); do
	plugin="$(printf "%s" "$plugin" | tr "-" "_")"
	if ! grep -q --fixed-strings -e "$plugin" debian/control; then
		MISSING="${MISSING:+$MISSING, }$plugin"
	fi
done
if [ "$MISSING" ]; then
	echo "Missing from debian/control: $MISSING" >&2
	exit 1
fi