summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2011-03-16 12:49:52 +0100
committerAlessio Treglia <alessio@debian.org>2011-03-16 12:49:52 +0100
commit784ef100fa583bf1012c14046b6fcf11164278f8 (patch)
treeba2eb0e6c9ab0d0903a4043add144b4af7c357fe /debian/rules
parent506139eb5afd48d0297ef3860256646406a3e359 (diff)
On Ubuntu, install the apport package hook.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 7 insertions, 0 deletions
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