1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/linux-netscape4/files/patch-aa

58 lines
1.7 KiB
Plaintext
Raw Normal View History

--- 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 ""