aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/40-newconfig.t.sh
blob: 4262931ee6c14a1816a237c902e2671b2e8daae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# sbopkglint test, must be sourced by sbopkglint (not run standalone).

# PKG, PRGNAM, VERSION, ARCH are set by sbopkglint. also the current
# directory is the root of the installed package tree.

#######################################################################
# check for .new config files. there shouldn't be any, because when
# sbopkglint installed the package, it ran the doinst.sh, which
# should have renamed them.

find_warnfiles "doinst.sh doesn't handle .new config files:" \
	. -type f -a -name '*.new' -a \! -path './usr/doc/*'