ntpd-rs: update to 1.3.1
[void-pkg.git] / common / scripts / check-custom-licenses
blobda21c58abdd0c38dc704d81a505f85eb37725827
1 #!/bin/bash
2 # checks for licenses that are no longer custom in packages
4 mapfile -t licenses < common/travis/license.lst
6 for lic in "${licenses[@]}"; do
7 grep -rl "custom:$lic"'[,"]' --include=template srcpkgs \
8 | cut -d/ -f2 | xargs -rn1 printf "%s: $lic is no longer custom\n"
9 done