mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
various fixes
This commit is contained in:
parent
beb3e82476
commit
df29a33e1c
@ -42,7 +42,7 @@ if [ -n "$need" ]; then
|
|||||||
|
|
||||||
[ -f /etc/lsb-release ] && . /etc/lsb-release
|
[ -f /etc/lsb-release ] && . /etc/lsb-release
|
||||||
|
|
||||||
if [ $DISTRIB_ID = "Ubuntu" -a -n "`which apt-get 2>/dev/null`" ]; then
|
if [ "$DISTRIB_ID" = "Ubuntu" -a -n "`which apt-get 2>/dev/null`" ]; then
|
||||||
echo "**** You seem to use an Ubuntu system ****"
|
echo "**** You seem to use an Ubuntu system ****"
|
||||||
read -p "would you like to sudo apt-get install the needed tools ? (y/n) " ans
|
read -p "would you like to sudo apt-get install the needed tools ? (y/n) " ans
|
||||||
[ "$ans" = "y" ] && sudo apt-get install $need_pkg
|
[ "$ans" = "y" ] && sudo apt-get install $need_pkg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user