scripts/checkdeps: fix script for using on fedora

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-04 12:23:29 +02:00
parent 6a2def8407
commit 2aa2214810

View File

@ -65,7 +65,7 @@ if [ -n "$need" ]; then
elif [ -f /etc/fedora-release -a -n "`which yum 2>/dev/null`" ]; then
echo "**** You seem to use a fedora system ****"
read -p "would you like to install the needed tools ? (y/n) " ans
[ "$ans" = "y" ] && sudo urpmi $need_pkg
[ "$ans" = "y" ] && sudo yum install $need_pkg
else
echo "********"
exit 1