CVS java-package/blackdown-j2sdk1.3

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


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

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


--- /cvsroot/pkg-java/java-package/blackdown-j2sdk1.3/install	2005/02/08 14:28:00	1.3
+++ /cvsroot/pkg-java/java-package/blackdown-j2sdk1.3/install	2005/04/06 04:14:58	1.4
@@ -29,8 +29,12 @@
 program_alternative rmiregistry
 program_alternative serialver
 
+# derive the architecture-specific 
+# directory for the plugin
+arch_dir="$(dpkg --print-architecture)"
 
-plugin_dir="$j2se_base/jre/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-j2sdk1.3/remove	2005/01/24 23:07:39	1.2
+++ /cvsroot/pkg-java/java-package/blackdown-j2sdk1.3/remove	2005/04/06 04:14:58	1.3
@@ -25,8 +25,12 @@
 program_alternative rmiregistry
 program_alternative serialver
 
+# derive the architecture-specific 
+# directory for the plugin
+arch_dir="$(dpkg --print-architecture)"
 
-plugin_dir="$j2se_base/jre/plugin/i386"
+# assemble the plugin path
+plugin_dir="$j2se_base/plugin/$arch_dir"
 
 # netscape
 update-alternatives \