[ "$J2SE_PACKAGE_LIBDIR" ] && lib_dir="$J2SE_PACKAGE_LIBDIR"
# If a default has been set for either of the
-# environment variables, use it; otherwise,
-# default to the name and email used by the
+# environment variables, use it; otherwise,
+# default to the name and email used by the
# Debian Java Maintainers project.
if [ -z "$J2SE_PACKAGE_FULL_NAME" ]; then
maintainer_name="Debian Java Maintainers"
# get architecture information
get_architecture
+# get browser plugin directories
+get_browser_plugin_dirs
+
jvm_base="/usr/lib/jvm/"
javadoc_base="/usr/share/doc/"
j2se_found=
-for var in ${!j2se_detect_*}; do
+for var in ${!j2se_detect_*}; do
eval "\$$var"
if [[ "$j2se_found" == "true" ]]; then
break;
echo
if [[ -z "$j2se_found" ]]; then
- echo "No matching packaging method was found for $archive_name. Please make sure you are using a tar.gz or self-extracting archive"
+ echo "No matching packaging method was found for $archive_name."
+ echo "Please make sure you are using a tar.gz or a self-extracting archive"
fi