]> git.sven.stormbind.net Git - sven/java-package.git/blobdiff - lib/common.sh
Removed the references to "Java 2" from the description of the generated JRE package
[sven/java-package.git] / lib / common.sh
index 4f9edd48bbd6cfbd3af9aa4a37c2a365e9402d9f..a9ed23104284fc283c53f32495ae7aa104c08ade 100644 (file)
@@ -192,3 +192,13 @@ get_architecture() {
     
     echo "Detected Debian GNU type: ${DEB_BUILD_GNU_TYPE:-N/A}"
 }
+
+# get browser plugin directories
+get_browser_plugin_dirs() {
+    if [ $(lsb_release --id --short) = Ubuntu ]; then
+        export browser_plugin_dirs="xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner"
+    else
+        export browser_plugin_dirs=mozilla
+    fi
+}
+