fedora and gentoo also need dpkg, so check for it

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent 1bf65d21a6
commit c1bbc88f87

@ -95,12 +95,17 @@ if [ ! $(which parted) ];then
NEEDS_PACKAGE=1 NEEDS_PACKAGE=1
fi fi
if [ ! $(which dpkg) ];then
echo "Missing dpkg"
NEEDS_PACKAGE=1
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 "Ubuntu/Debian: sudo apt-get install uboot-mkimage wget dosfstools parted"
echo "Fedora: as root: yum install uboot-tools wget dosfstools parted" echo "Fedora: as root: yum install uboot-tools wget dosfstools parted dpkg"
echo "Gentoo: emerge u-boot-tools wget dosfstools parted" echo "Gentoo: emerge u-boot-tools wget dosfstools parted dpkg"
echo "" echo ""
exit exit
fi fi

Loading…
Cancel
Save