This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository java-package.

commit 9659f4a2f241fb0845a9e6e5840792bfe1f2dccd
Author: Benjamin Drung <[email protected]>
Date:   Tue Jun 17 19:38:03 2014 +0200

    Replace lsb_release call by dpkg-vendor call.
---
 debian/control | 1 -
 lib/common.sh  | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 4c70392..2933a2c 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,6 @@ Depends: debhelper (>= 9),
          fakeroot,
          libasound2,
          libx11-6,
-         lsb-release,
          unzip,
          ${misc:Depends}
 Recommends: gcc
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

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/java-package.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to