]> git.sven.stormbind.net Git - sven/java-package.git/commitdiff
Replace lsb_release call by dpkg-vendor call.
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Tue, 17 Jun 2014 17:38:03 +0000 (19:38 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Tue, 17 Jun 2014 17:38:03 +0000 (19:38 +0200)
debian/control
lib/common.sh

index 4c703923e6ccbd6a6b9e6017662fe34138e19e93..2933a2cfd400c396fbc6eb6204fe3addbafcbd4b 100644 (file)
@@ -15,7 +15,6 @@ Depends: debhelper (>= 9),
          fakeroot,
          libasound2,
          libx11-6,
-         lsb-release,
          unzip,
          ${misc:Depends}
 Recommends: gcc
index ec105313bd8c662b44b30827830b64b0b5c20828..1e5c30b7d0328097c080a508f2bd121a35b42321 100644 (file)
@@ -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