mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-12-23 12:41:05 +01:00
9 lines
287 B
Bash
Executable file
9 lines
287 B
Bash
Executable file
#!/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
|