summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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