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=ee7f681f03a875fc615134a6686b2906d5d89438;hpb=96e84143de30aca040f44983e00cf4011fb794e8 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 +} +