X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=lib%2Fcommon.sh;fp=lib%2Fcommon.sh;h=1e5c30b7d0328097c080a508f2bd121a35b42321;hp=ec105313bd8c662b44b30827830b64b0b5c20828;hb=9659f4a2f241fb0845a9e6e5840792bfe1f2dccd;hpb=69f0c92728cb051df2f2a030c13ef7bf5ded9ccf diff --git a/lib/common.sh b/lib/common.sh index ec10531..1e5c30b 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -195,7 +195,7 @@ get_architecture() { # get browser plugin directories get_browser_plugin_dirs() { - if [ $(lsb_release --id --short) = Ubuntu ]; then + if dpkg-vendor --derives-from Ubuntu; then export browser_plugin_dirs="xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner" else export browser_plugin_dirs=mozilla