config root man

Current Path : /compat/linux/proc/68247/root/usr/local/lib/rpm/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/68247/root/usr/local/lib/rpm/check-prereqs

#!/bin/bash2

bashit="/bin/bash2 --rpm-requires"

# Make sure that this bash has the rpm-requires hack
$bashit < /dev/null 2>&1 > /dev/null || exit $?

prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//'`" -e 's/^executable(//' -e 's/)$//'`"
[ -z "$prereqs" ] && exit 0

for prereq in $prereqs
do
    case $prereq in
    /*)	echo $prereq ;;
    *)	echo "`which $prereq`" ;;
    esac
done | sort | uniq

Man Man