From 5fa3872ca7ed28cd541820a8996eb59f72b07e3a Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Thu, 14 Apr 2022 15:12:00 -0400 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 #=================================================