File: 02-chmod-instead-of-chown.diff

package info (click to toggle)
apt-dater-host 1.0.1-3
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 280 kB
  • sloc: perl: 1,202; sh: 151; makefile: 26
file content (11 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (2)
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