From 91c193398c39f9ceeda380250c9387f348a224b0 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 13 Sep 2011 14:50:54 -0500 Subject: [PATCH] display what script needs, gnu which on gentoo making it fun Signed-off-by: Robert Nelson --- mk_mmc.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index dc6f115..618de9c 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -83,6 +83,11 @@ fi 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 if [ ! $(which mkimage) ];then @@ -118,9 +123,6 @@ fi if [ "${NEEDS_PACKAGE}" ];then echo "" 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 "" exit fi