summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/local/apport/source_mdadm.py (renamed from debian/source_mdadm.py)0
-rw-r--r--debian/mdadm.install1
-rwxr-xr-xdebian/rules5
3 files changed, 1 insertions, 5 deletions
diff --git a/debian/source_mdadm.py b/debian/local/apport/source_mdadm.py
index 0aad41b..0aad41b 100644
--- a/debian/source_mdadm.py
+++ b/debian/local/apport/source_mdadm.py
diff --git a/debian/mdadm.install b/debian/mdadm.install
index c4eebf1..c84d61e 100644
--- a/debian/mdadm.install
+++ b/debian/mdadm.install
@@ -3,6 +3,7 @@ lib/
misc/mdcheck usr/share/mdadm/
+debian/local/apport/* usr/share/apport/package-hooks
debian/local/bin/* usr/share/mdadm
debian/local/initramfs-tools/* usr/share/initramfs-tools/scripts
debian/local/reportbug/* usr/share/bug/mdadm
diff --git a/debian/rules b/debian/rules
index 0a14e36..52a71b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,11 +32,6 @@ override_dh_install:
mkdir -p $(CURDIR)/debian/mdadm/etc/mdadm
chmod +x $(CURDIR)/debian/mdadm/usr/share/mdadm/mdcheck
-ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes)
- install -Dm0644 debian/source_mdadm.py \
- $(CURDIR)/debian/mdadm/usr/share/apport/package-hooks/source_mdadm.py
-endif
-
override_dh_installsystemd:
dh_installsystemd --name mdadm-shutdown