From 784ef100fa583bf1012c14046b6fcf11164278f8 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 16 Mar 2011 12:49:52 +0100 Subject: On Ubuntu, install the apport package hook. --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/rules b/debian/rules index dad1cdb..d408a1e 100755 --- a/debian/rules +++ b/debian/rules @@ -19,3 +19,10 @@ override_dh_auto_configure: override_dh_auto_build: cd po; intltool-update -p dh_auto_build + +override_dh_install: + dh_install +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes) + dh_install -psimple-scan debian/source_simple-scan.py \ + usr/share/apport/package-hooks/ +endif -- cgit v1.2.3