pfl added

This commit is contained in:
Kolan Sh 2013-01-11 13:14:38 +04:00
parent 8ebdde30ee
commit 7893de645a
1 changed files with 12 additions and 0 deletions

View File

@ -564,4 +564,16 @@ if [ $STAGE_CNT -eq $STAGE ]; then
fi fi
let STAGE_CNT++ let STAGE_CNT++
# Collect data for file/package database
if [ $STAGE_CNT -eq $STAGE ]; then
echo "======= STAGE $STAGE: Collect data for file/package database ======="
if [ `which pfl 2>/dev/null` ]; then
pfl
[ 0 -ne $? ] && echo "Stage $STAGE: Collect data for file/package database failed ;-( =======" && exit $STAGE
else
echo "app-portage/pfl is not installed ;-("
fi
fi
let STAGE_CNT++
exit 0 exit 0