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