summaryrefslogtreecommitdiffstats
path: root/libstatgrab.nochmod.patch
blob: 83efcc215ccffd90885525b3ca569ffb2ce5acb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Index: src/saidar/Makefile.in
===================================================================
--- src/saidar.orig/Makefile.in
+++ src/saidar/Makefile.in
@@ -662,11 +662,11 @@ uninstall-am: uninstall-binPROGRAMS
 
 install-exec-local:
 # Some operating systems need the binary to be setgid kmem
-@SAIDAR_TRUE@@SETGIDBINS_TRUE@	chgrp kmem $(DESTDIR)@bindir@/saidar
-@SAIDAR_TRUE@@SETGIDBINS_TRUE@	chmod g+s $(DESTDIR)@bindir@/saidar
+@SAIDAR_TRUE@@SETGIDBINS_TRUE@	chgrp kmem $(DESTDIR)@bindir@/saidar || true
+@SAIDAR_TRUE@@SETGIDBINS_TRUE@	chmod g+s $(DESTDIR)@bindir@/saidar  || true
 # Some operating systems need the binary to be setuid root
-@SAIDAR_TRUE@@SETUIDBINS_TRUE@	chown root $(DESTDIR)@bindir@/saidar
-@SAIDAR_TRUE@@SETUIDBINS_TRUE@	chmod u+s $(DESTDIR)@bindir@/saidar
+@SAIDAR_TRUE@@SETUIDBINS_TRUE@	chown root $(DESTDIR)@bindir@/saidar || true
+@SAIDAR_TRUE@@SETUIDBINS_TRUE@	chmod u+s $(DESTDIR)@bindir@/saidar  || true
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
Index: src/saidar/Makefile.am
===================================================================
--- src/saidar.orig/Makefile.am
+++ src/saidar/Makefile.am
@@ -19,12 +19,12 @@ install-exec-local:
 if SAIDAR
 if SETGIDBINS
 # Some operating systems need the binary to be setgid kmem
-	chgrp kmem $(DESTDIR)@bindir@/saidar
-	chmod g+s $(DESTDIR)@bindir@/saidar
+	chgrp kmem $(DESTDIR)@bindir@/saidar || true
+	chmod g+s $(DESTDIR)@bindir@/saidar || true
 endif
 if SETUIDBINS
 # Some operating systems need the binary to be setuid root
-	chown root $(DESTDIR)@bindir@/saidar
+	chown root $(DESTDIR)@bindir@/saidar || true
 	chmod u+s $(DESTDIR)@bindir@/saidar
 endif
 endif