display what script needs, gnu which on gentoo making it fun

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent ff8d8f8925
commit 91c193398c

@ -83,6 +83,11 @@ fi
function detect_software { function detect_software {
echo "This script needs:"
echo "Ubuntu/Debian: sudo apt-get install uboot-mkimage wget dosfstools parted"
echo "Fedora: as root: yum install uboot-tools wget dosfstools parted dpkg patch"
echo "Gentoo: emerge u-boot-tools wget dosfstools parted dpkg"
unset NEEDS_PACKAGE unset NEEDS_PACKAGE
if [ ! $(which mkimage) ];then if [ ! $(which mkimage) ];then
@ -118,9 +123,6 @@ fi
if [ "${NEEDS_PACKAGE}" ];then if [ "${NEEDS_PACKAGE}" ];then
echo "" echo ""
echo "Your System is Missing some dependencies" echo "Your System is Missing some dependencies"
echo "Ubuntu/Debian: sudo apt-get install uboot-mkimage wget dosfstools parted"
echo "Fedora: as root: yum install uboot-tools wget dosfstools parted dpkg patch"
echo "Gentoo: emerge u-boot-tools wget dosfstools parted dpkg"
echo "" echo ""
exit exit
fi fi

Loading…
Cancel
Save