summaryrefslogtreecommitdiff
path: root/mail/sendmail/patches/patch-ao
blob: 38ed2c7e7e4dcb8de6bd822faf46cba9e572776a (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
41
42
43
44
45
46
47
48
49
50
$NetBSD: patch-ao,v 1.3 2014/06/15 20:48:50 jnemeth Exp $

--- devtools/bin/install.sh.orig	2014-03-06 17:31:29.000000000 +0000
+++ devtools/bin/install.sh
@@ -101,25 +101,26 @@ then
 	$strip $dst
 fi
 
-# Change owner if requested
-if [ ! -z "$owner" ]
-then
-	$chown $owner $dst
-	if [ $? != 0 ]
-	then
-		exit 1
-	fi
-fi
-
-# Change group if requested
-if [ ! -z "$group" ]
-then
-	chgrp $group $dst
-	if [ $? != 0 ]
-	then
-		exit 1
-	fi
-fi
+# XXX Don't try to change owner or group, let pkgsrc infrastructure handle it.
+## Change owner if requested
+#if [ ! -z "$owner" ]
+#then
+#	$chown $owner $dst
+#	if [ $? != 0 ]
+#	then
+#		exit 1
+#	fi
+#fi
+#
+## Change group if requested
+#if [ ! -z "$group" ]
+#then
+#	chgrp $group $dst
+#	if [ $? != 0 ]
+#	then
+#		exit 1
+#	fi
+#fi
 
 # Change mode if requested
 if [ ! -z "$mode" ]