summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/clean1
-rw-r--r--debian/postinst (renamed from debian/postinst.in)0
-rwxr-xr-xdebian/rules4
3 files changed, 3 insertions, 2 deletions
diff --git a/debian/clean b/debian/clean
index ccba3ce..e69de29 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +0,0 @@
-debian/postinst
diff --git a/debian/postinst.in b/debian/postinst
index 0ad4ce3..0ad4ce3 100644
--- a/debian/postinst.in
+++ b/debian/postinst
diff --git a/debian/rules b/debian/rules
index 4c0497b..c7a291d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,6 @@ DESTDIR = debian/base-files
override_dh_auto_build:
sh debian/check-md5sum-etc profile
- sed -e "s/#VENDORFILE#/$(VENDORFILE)/g" debian/postinst.in > debian/postinst
override_dh_auto_install:
install -p -m 644 etc/* $(DESTDIR)/etc
@@ -51,3 +50,6 @@ override_dh_fixperms:
cd debian/base-files && chmod 1777 `cat ../1777-dirs`
cd debian/base-files && chmod 2775 `cat ../2775-dirs`
cd debian/base-files && chmod 700 root
+
+override_dh_installdeb:
+ dh_installdeb -DVENDORFILE=$(VENDORFILE)