#!/bin/bash

if [ "$1" ==  "--help" ]; then
        echo "corrupted packages (according to the fdb)"
        exit 1
fi

cd ..
for i in frugalware-x86_64
do
	cd $i || exit
	find -type f -name "*.fpm" -exec ../t/verifypackage.sh {} frugalware-current.fdb \;
	cd ..
done
