99-pkglint: forbid /usr/etc

data files should go to /usr/share, config files should go to /etc
This commit is contained in:
Đoàn Trần Công Danh 2022-09-06 10:31:17 +07:00
parent 8dbdd0699b
commit c22acb3072
2 changed files with 14 additions and 1 deletions

13
common/wrappers/which.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
ret=0
while test $# != 0; do
case "$1" in
-*) ;;
*) command -v "$1" || ret=1 ;;
esac
shift
done
exit "$ret"