Make JRE/JDK package architecture specific
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Thu, 17 Mar 2016 16:42:29 +0000 (17:42 +0100)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Fri, 18 Mar 2016 11:34:01 +0000 (12:34 +0100)
lib/oracle-jdk.sh
lib/oracle-jre.sh

index ebc0efd..fd510c7 100644 (file)
@@ -205,7 +205,7 @@ oracle_j2sdk_control() {
     done
     cat << EOF
 Package: $j2se_package
-Architecture: any
+Architecture: $j2se_debian_arch
 Depends: \${misc:Depends}, $depends
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime $java_browser_plugin java-compiler, java2-compiler, java-runtime-headless, java2-runtime-headless, $provides_headless java-sdk, java2-sdk, $provides_sdk
index a555182..0b93de0 100644 (file)
@@ -150,7 +150,7 @@ oracle_j2re_control() {
     done
     cat << EOF
 Package: $j2se_package
-Architecture: any
+Architecture: $j2se_debian_arch
 Depends: \${misc:Depends}, \${shlibs:Depends}, $depends
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime java-runtime-headless, java2-runtime-headless, $provides_headless java-browser-plugin