diff options
| -rw-r--r-- | sbopkglint.d/40-newconfig.t.sh | 12 | 
1 files changed, 2 insertions, 10 deletions
| diff --git a/sbopkglint.d/40-newconfig.t.sh b/sbopkglint.d/40-newconfig.t.sh index ee0aec5..4262931 100644 --- a/sbopkglint.d/40-newconfig.t.sh +++ b/sbopkglint.d/40-newconfig.t.sh @@ -10,13 +10,5 @@  # sbopkglint installed the package, it ran the doinst.sh, which  # should have renamed them. -NEWFILES="" -for f in "$( find -type f -name \*.new )"; do -	[ -z "$f" ] && continue -	case "$f" in -		./usr/doc/*) continue ;; -	esac -	NEWFILES+="$f " -done - -[ -n "$NEWFILES" ] && warn "doinst.sh doesn't handle .new config files:" && ls -l $NEWFILES +find_warnfiles "doinst.sh doesn't handle .new config files:" \ +	. -type f -a -name '*.new' -a \! -path './usr/doc/*' | 
