X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=lib%2Fcommon.sh;h=a9ed23104284fc283c53f32495ae7aa104c08ade;hp=4f9edd48bbd6cfbd3af9aa4a37c2a365e9402d9f;hb=9be7aa4fcd4a0153bf128d1a6ea0721835db490b;hpb=6f3337a85a01f4aa6900df2509d5b37f6be9d254 diff --git a/lib/common.sh b/lib/common.sh index 4f9edd4..a9ed231 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -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 +} +