evolution-packages/common/scripts/check-custom-licenses

10 lines
287 B
Plaintext
Raw Permalink Normal View History

2023-08-05 21:19:04 +01:00
#!/bin/bash
# checks for licenses that are no longer custom in packages
mapfile -t licenses < common/travis/license.lst
for lic in "${licenses[@]}"; do
grep -rl "custom:$lic"'[,"]' --include=template srcpkgs \
| cut -d/ -f2 | xargs -rn1 printf "%s: $lic is no longer custom\n"
done