diff --git a/scripts/checkdeps b/scripts/checkdeps index 590ca967da..36c4a861a4 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -39,6 +39,11 @@ test_perl-json() test_libjson-perl } +test_perl-JSON() +{ + test_libjson-perl +} + if [ -f /etc/lsb-release ]; then DISTRO=$(grep DISTRIB_ID /etc/lsb-release | cut -d "=" -f 2 | tr A-Z a-z) fi @@ -87,6 +92,9 @@ if ! test_libjson-perl; then arch) files_pkg="$files_pkg perl-json" ;; + fedora|centos|rhel|opensuse) + files_pkg="$files_pkg perl-JSON" + ;; *) files_pkg="$files_pkg libjson-perl" ;;