Rename postinst.in to postinst. Use dh_installdeb token feature instead.

This commit is contained in:
Santiago Vila
2024-04-17 12:30:00 +02:00
parent 4e62ac47b0
commit 9eaf81f05f
3 changed files with 3 additions and 2 deletions

1
debian/clean vendored
View File

@@ -1 +0,0 @@
debian/postinst

4
debian/rules vendored
View File

@@ -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)