summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2012-04-20 12:07:21 +0200
committerAlessio Treglia <alessio@debian.org>2012-04-20 12:07:21 +0200
commit170df4a82fe5addc1e223c8487fd6b90c9337359 (patch)
tree7a1adf96af017d67f80a2b8b6338e1f079339689 /debian
parent1e17ab8631e2bf3c9eb90305930930f73e3a1306 (diff)
Install apport file on Debian systems too.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/simple-scan.install1
2 files changed, 1 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules
index d408a1e..8f3cd40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,5 @@
#!/usr/bin/make -f
-DISTRIBUTION = $(shell lsb_release -i | cut -f2 -d':' | tr -d '\t')
LDFLAGS+=-Wl,--as-needed
%:
@@ -19,10 +18,3 @@ 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
diff --git a/debian/simple-scan.install b/debian/simple-scan.install
new file mode 100644
index 0000000..63d50cc
--- /dev/null
+++ b/debian/simple-scan.install
@@ -0,0 +1 @@
+debian/source_simple-scan.py usr/share/apport/package-hooks/