aboutsummaryrefslogtreecommitdiffstats
path: root/www/linux-netscape4/files/patch-aa
blob: 2e9ea2596e88203502718184a5be866de49691d8 (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
--- ns-install.orig Tue Nov  3 22:27:09 1998
+++ ns-install  Wed Jan 27 18:16:33 1999
@@ -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
@@ -294,10 +295,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"
                ;;
@@ -324,14 +325,6 @@
    # 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
 fi
 
 echo ""
@@ -393,18 +386,6 @@
 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
 fi
 
 echo ""