mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
scripts/checkdeps: fix script for using on fedora
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6a2def8407
commit
2aa2214810
@ -65,7 +65,7 @@ if [ -n "$need" ]; then
|
|||||||
elif [ -f /etc/fedora-release -a -n "`which yum 2>/dev/null`" ]; then
|
elif [ -f /etc/fedora-release -a -n "`which yum 2>/dev/null`" ]; then
|
||||||
echo "**** You seem to use a fedora system ****"
|
echo "**** You seem to use a fedora system ****"
|
||||||
read -p "would you like to install the needed tools ? (y/n) " ans
|
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
|
else
|
||||||
echo "********"
|
echo "********"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user