mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
checkdeps: add libjson-perl
This commit is contained in:
parent
b575cafb00
commit
c6aeb9f83f
@ -62,6 +62,11 @@ case "$DISTRO" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if ! perl -MJSON -e 'exit(0);' 2>/dev/null; then
|
||||
files="$files perl/JSON.pm"
|
||||
files_pkg="$files_pkg libjson-perl"
|
||||
fi
|
||||
|
||||
# project specific dependencies
|
||||
if [ -n "$EXTRA_DEPS" ] ; then
|
||||
deps="$deps $EXTRA_DEPS"
|
||||
@ -96,7 +101,7 @@ done
|
||||
|
||||
if [ -n "$need" ]; then
|
||||
echo "**** Your system lacks the following tools needed to build $DISTRONAME ****"
|
||||
echo $need
|
||||
echo $need provided by $need_pkg
|
||||
echo "**** You seem to use a $DISTRO system ****"
|
||||
|
||||
case "$DISTRO" in
|
||||
|
Loading…
x
Reference in New Issue
Block a user