@cryptotaxi247 / netdata-1 / commits / e2aa89a9b

Handle conffiles for DEB packages explicitly instead of automatically. (#14703)

Austin S. Hemmelgarn committed Apr 11, 2023 at 07:03 UTC e2aa89a9bbae30e6438eaeb6731222f3021437e7
2 files changed +9
contrib/debian/conffiles new
+4
@@ -0,0 +1,4 @@
1 +/etc/default/netdata
2 +/etc/init.d/netdata
3 +/etc/logrotate.d/netdata
4 +/etc/netdata/netdata.conf
contrib/debian/rules
+5
@@ -127,6 +127,11 @@ override_dh_installlogrotate:
127 cp system/logrotate/netdata debian/netdata.logrotate
128 dh_installlogrotate
129
130 +override_dh_installdeb:
131 + dh_installdeb
132 + @echo "Recreating conffiles without auto-adding /etc files"
133 + @cp $(CURDIR)/debian/conffiles $(CURDIR)/debian/netdata/DEBIAN/conffiles
134 +
135 override_dh_clean:
136 dh_clean
137