diff --git a/scripts/_common.sh b/scripts/_common.sh index eef890b..62b6d95 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,9 +6,14 @@ # dependencies used by the app pkg_dependencies="openjdk-8-jre-headless|openjdk-11-jre-headless debconf|debconf-2.0 procps uuid-runtime lua-ldap" -pkg_dependencies_arm="automake autoconf build-essential libtool git maven m4" -pkg_extra_dependencies_arm="openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdf openjdk-8-jdk-headless" +if [ $YNH_ARCH == "armhf" ] +then + pkg_dependencies_arm="openjdk-8-jre openjdk-8-jre-headless openjdk-8-jdf openjdk-8-jdk-headless \ + automake autoconf build-essential libtool git maven m4" + + pkg_dependencies="$pkg_dependencies $pkg_dependencies_arm" +fi #================================================= # PERSONAL HELPERS #=================================================