Update the plist checking to look for a subset of files and weed out some

false positives.
This commit is contained in:
Kris Kennaway 2005-02-12 03:34:21 +00:00
parent cb066d84cd
commit 4e40e823b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128582

View file

@ -156,6 +156,8 @@ else
./root/*
./var/*
./tmp/*
./etc/make.conf.bak
./etc/make.conf
EOF
mtree -X /tmp/mtree.exclude -xcn -k uid,gid,mode -p / > /tmp/mtree
cd $dir
@ -173,9 +175,12 @@ EOF
grep ' missing$' /tmp/list3 > /tmp/list5
grep -vE ' (extra|missing)$' /tmp/list3 > /tmp/list6
if [ "x${PLISTCHECK}" != "x" ]; then
if grep -qE 'usr/(local|X11R6)/(bin|sbin|share/doc|share/locale/|lib/lib)' /tmp/list4; then
if grep -qE 'usr/(local|X11R6)/(bin/|include/|man/|sbin/|share/|share/|lib/|libdata/|libexec/)' /tmp/list4; then
echo "1" > /tmp/status
fi
if [ -s /tmp/list5 ]; then
echo "1" > /tmp/status
fi
fi
echo "================================================================"
fi