summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ab
blob: ad168dc25d47eb3112a142e736f9ae0cb5d0860e (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
--- installperl.BAK	Wed Nov 19 23:02:26 1997
+++ installperl	Wed Nov 19 23:04:08 1997
@@ -93,7 +93,7 @@
 safe_unlink("$installbin/sperl$ver$exe_ext");
 if ($d_dosuid) {
     copy("suidperl$exe_ext", "$installbin/sperl$ver$exe_ext");
-    chmod(04711, "$installbin/sperl$ver$exe_ext");
+    chmod(04111, "$installbin/sperl$ver$exe_ext");
 }
 
 # Install library files.
@@ -156,17 +156,17 @@
 	      (-l $usrbinperl) &&
 	      ((readlink $usrbinperl) eq $expinstperl));
     }
-    if ((! $mainperl_is_instperl) &&
-	(yn("Many scripts expect perl to be installed as $usrbinperl.\n" . 
-	     "Do you wish to have $usrbinperl be the same as\n" .
-	     "$expinstperl? [y] ")))
-    {	
-	unlink($usrbinperl);
-	eval { CORE::link $instperl, $usrbinperl } ||
-	    eval { symlink $expinstperl, $usrbinperl } ||
-		copy($instperl, $usrbinperl);
-	$mainperl_is_instperl = 1;
-    }
+#    if ((! $mainperl_is_instperl) &&
+#	(yn("Many scripts expect perl to be installed as $usrbinperl.\n" . 
+#	     "Do you wish to have $usrbinperl be the same as\n" .
+#	     "$expinstperl? [y] ")))
+#    {	
+#	unlink($usrbinperl);
+#	eval { CORE::link $instperl, $usrbinperl } ||
+#	    eval { symlink $expinstperl, $usrbinperl } ||
+#		copy($instperl, $usrbinperl);
+#	$mainperl_is_instperl = 1;
+#    }
 }
 
 # Make links to ordinary names if installbin directory isn't current directory.