Package: apt-dater-host / 1.0.1-3

02-chmod-instead-of-chown.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
# Replace chown with chmod to fix a FTBFS.

diff -Naur apt-dater-host-1.0.1.orig/dpkg/Makefile apt-dater-host-1.0.1/dpkg/Makefile
--- apt-dater-host-1.0.1.orig/dpkg/Makefile	2018-01-09 22:15:22.000000000 +0100
+++ apt-dater-host-1.0.1/dpkg/Makefile	2020-01-22 15:11:31.276271766 +0100
@@ -16,4 +16,4 @@
 
 	mkdir -p $(DESTDIR)/etc/sudoers.d
 	cp scripts/apt-dater-host $(DESTDIR)/etc/sudoers.d/
-	chown 0440 $(DESTDIR)/etc/sudoers.d/apt-dater-host
+	chmod 0440 $(DESTDIR)/etc/sudoers.d/apt-dater-host