From 7d331423a085a236e2f18b775cb1fe0f1509a97c Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 20 Jun 2011 10:05:20 -0500 Subject: [PATCH] fedora needs patch too Signed-off-by: Robert Nelson --- mk_mmc.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 6135386..fec3dc9 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -100,11 +100,16 @@ if [ ! $(which dpkg) ];then NEEDS_PACKAGE=1 fi +if [ ! $(which patch) ];then + echo "Missing patch" + NEEDS_PACKAGE=1 +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" + 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