summaryrefslogtreecommitdiff
path: root/www/netscape4-communicator.us/files/patch-aa
blob: b6da45574eed6c42e15d5d9afd052208d4597737 (plain) (blame)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- ns-install.orig	Tue Sep 29 20:59:31 1998
+++ ns-install	Wed Oct  7 06:11:53 1998
@@ -120,6 +120,7 @@
 # Even though the user has already used gzip to extract the file (or
 # we wouldn't be here), make sure we can find it.
 #
+unset GZIP
 GZIP="gzip"
 flag=1
 while test ${flag} -eq 1
@@ -288,10 +289,10 @@
 	# avoid users having to set MOZILLA_JAVA_FONT_PROPERTY_PATH, or
 	# just assuming Java font-handling is broken.
 	#
-	if test ! -z "`ls /bin/uname`"
+	if test ! -z "`ls /usr/bin/uname`"
 	then
 		MOVE_FONTS="TRUE"
-		case `/bin/uname` in
+		case `/usr/bin/uname` in
 			AIX)
 				PLATFORM="aix"
 				;;
@@ -318,14 +319,14 @@
 	# Is this a virgin install?  If so, create the .netscape dir
 	# and put the default bookmark file in it.
 	#
-	if test ! -d ${HOME}/.netscape
-	then
-		# New install, or upgrade from 0.x or 1.x.
-		mkdir ${HOME}/.netscape
-		cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
-		chmod 644 ${HOME}/.netscape/bookmarks.html
-		echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
-	fi
+#	if test ! -d ${HOME}/.netscape
+#	then
+#		# New install, or upgrade from 0.x or 1.x.
+#		mkdir ${HOME}/.netscape
+#		cp ${TARGET}/bookmark.htm ${HOME}/.netscape/bookmarks.html
+#		chmod 644 ${HOME}/.netscape/bookmarks.html
+#		echo "${HOME}/.netscape/bookmarks.html" >> ${LOGFILE}
+#	fi
 fi
 
 echo ""
@@ -387,18 +388,18 @@
 then
 	echo "ERROR: Installation completed, but unable to update/create the product"
 	echo "       version registry."
-	echo ""
-	echo "       If you are installing ${PRODUCT} from a platform other than"
-	echo "       that for which this package is intended, 'vreg' will not be"
-	echo "       able to run.  If this is the case, you may run 'vreg' manually"
-	echo "       (to enable ASD) on the appropriate platform using the following"
-	echo "       commands:"
-	echo ""
-	awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
-	echo "	${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
-	echo ""
-	/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
-	exit 3
+#	echo ""
+#	echo "       If you are installing ${PRODUCT} from a platform other than"
+#	echo "       that for which this package is intended, 'vreg' will not be"
+#	echo "       able to run.  If this is the case, you may run 'vreg' manually"
+#	echo "       (to enable ASD) on the appropriate platform using the following"
+#	echo "       commands:"
+#	echo ""
+#	awk '{printf("\techo \"%s\" >>/tmp/infile\n", $0)}' ${REG_INFILE}
+#	echo "	${TARGET}/vreg ${TARGET}/${VREGISTRY} /tmp/infile"
+#	echo ""
+#	/bin/rm -f ns-install ${PACKAGE} ${REG_INFILE} core
+#	exit 3
 fi
 
 echo ""