From 9eaf81f05fe79db2dc3085556412264bd30acdc7 Mon Sep 17 00:00:00 2001 From: Santiago Vila Date: Wed, 17 Apr 2024 12:30:00 +0200 Subject: Rename postinst.in to postinst. Use dh_installdeb token feature instead. --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/rules') 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) -- cgit v1.2.3