[hedgewars] 01/01: Better way to check if fpc is installed

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Sun Sep 6 06:23:24 UTC 2015


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

locutusofborg-guest pushed a commit to branch master
in repository hedgewars.

commit 4a97b09e93aebf85fdb5e9e43c050cc7bc18e13b
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Sun Sep 6 08:23:10 2015 +0200

    Better way to check if fpc is installed
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 03f23fc..2563a32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 DEJAVU_DIRECTORY := $(shell dirname `readlink -f /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf`)
 
-ifeq ($(shell dpkg-query --status fpc |grep -o Package), Package)
+ifeq ($(shell dpkg -s fpc | grep -o installed), installed)
  BUILD_ENGINE_C := NO
 else
  BUILD_ENGINE_C := YES

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/hedgewars.git



More information about the Pkg-games-commits mailing list