mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #1518 from klopsknoedel/master
checkdeps: minor changes and improvements
This commit is contained in:
commit
70a98c1450
@ -76,15 +76,11 @@ if [ -n "$need" ]; then
|
||||
if ( ! [ -z "`which aptitude 2>/dev/null`" ] && [ "$ans" = "y" ]); then
|
||||
sudo aptitude install $need_pkg
|
||||
elif [ "$ans" = "y" ]; then
|
||||
echo "**** The Package-Manager Aptitude is not installed on"
|
||||
echo "**** your system which is recommended"
|
||||
echo "**** The recommended Package-Manager Aptitude is not installed"
|
||||
read -p "(y) install Aptitude :: (n) use APT " ans
|
||||
if [ "$ans" = "y" ]; then
|
||||
sudo apt-get install aptitude
|
||||
echo "**** Please restart the build-process to install the"
|
||||
echo "**** required build-dependencies"
|
||||
echo "********"
|
||||
exit 1
|
||||
sudo apt-get -y install aptitude
|
||||
sudo aptitude install $need_pkg
|
||||
elif [ "$ans" = "n" ]; then
|
||||
sudo apt-get install $need_pkg
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user