CVS java-package/blackdown-j2re1.3

Barry Hawkins barryh-guest@haydn.debian.org
Wed Apr 6 04:15:10 2005


Update of /cvsroot/pkg-java/java-package/blackdown-j2re1.3
In directory haydn:/tmp/cvs-serv12113/blackdown-j2re1.3

Modified Files:
	install remove 
Log Message:
Added dynamic architecture pathing for plugin.


--- /cvsroot/pkg-java/java-package/blackdown-j2re1.3/install	2005/02/08 14:27:58	1.3
+++ /cvsroot/pkg-java/java-package/blackdown-j2re1.3/install	2005/04/06 04:14:56	1.4
@@ -19,8 +19,12 @@
 program_alternative rmid
 program_alternative rmiregistry
 
+# derive the architecture-specific 
+# directory for the plugin
+arch_dir="$(dpkg --print-architecture)"
 
-plugin_dir="$j2se_base/plugin/i386"
+# assemble the plugin path
+plugin_dir="$j2se_base/plugin/$arch_dir"
 
 # netscape
 netscape_dir="/usr/lib/netscape/plugins-libc6"
--- /cvsroot/pkg-java/java-package/blackdown-j2re1.3/remove	2005/01/24 23:07:37	1.2
+++ /cvsroot/pkg-java/java-package/blackdown-j2re1.3/remove	2005/04/06 04:14:56	1.3
@@ -15,8 +15,12 @@
 program_alternative rmid
 program_alternative rmiregistry
 
+# derive the architecture-specific 
+# directory for the plugin
+arch_dir="$(dpkg --print-architecture)"
 
-plugin_dir="$j2se_base/plugin/i386"
+# assemble the plugin path
+plugin_dir="$j2se_base/plugin/$arch_dir"
 
 # netscape
 update-alternatives \