diff options
Diffstat (limited to 'xlint')
-rwxr-xr-x | xlint | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlint b/xlint index ae3df3d..90e00fa 100755 --- a/xlint +++ b/xlint @@ -99,6 +99,9 @@ for template; do scan 'short_desc=["'\''].{72}' "short_desc should be less than 72 chars" scan 'license=.*[^L]GPL[^-]' "license GPL without version" scan 'license=.*LGPL[^-]' "license LGPL without version" + if ! grep -q vlicense "$template"; then + scan 'license=.*custom' "license 'custom', but no use of vlicense" + fi scan 'vinstall.* usr/bin' "use vbin" scan 'vinstall.* usr/share/man' "use vman" scan 'vinstall.* usr/share/licenses' "use vlicense" |