1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/linux-netscape4/files/patch-aa
Steve Price 24fae85eec Cleanups from maintainer.
PR:		9928
Submitted by:	maintainer
1999-02-22 04:31:44 +00:00

58 lines
1.7 KiB
Plaintext

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