mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 02:49:14 -04:00
70 lines
1.4 KiB
Text
70 lines
1.4 KiB
Text
--- linuxx86/hinst.orig 2009-02-26 04:22:26.000000000 -0500
|
|
+++ linuxx86/hinst 2009-06-14 00:56:20.000000000 -0400
|
|
@@ -256,11 +256,9 @@
|
|
then
|
|
echo LANG=$LANG
|
|
fi
|
|
- if [ -z "$LANG" ]
|
|
- then
|
|
- LANG="en"
|
|
- # echo LANG missing, using en
|
|
- fi
|
|
+
|
|
+ LANG="en"
|
|
+
|
|
Lang=`echo $LANG | sed -n -e 's/[_\.].*//' -e 'p'`
|
|
Territory=`echo $LANG | sed -n -e 's/\(.*\)\..*/\1/' -e 's/.*_\(.*\)/\1/p'`
|
|
CodeSet=`echo $LANG | sed -n -e 's/.*\.\(.*\)/\1/p'`
|
|
@@ -1965,7 +1963,7 @@
|
|
then
|
|
:
|
|
else
|
|
- /bin/false
|
|
+ false
|
|
return
|
|
fi
|
|
|
|
@@ -2090,7 +2088,7 @@
|
|
fi
|
|
fi
|
|
|
|
- /bin/true
|
|
+ true
|
|
}
|
|
|
|
#!/bin/sh
|
|
@@ -2191,19 +2189,12 @@
|
|
found_netscape
|
|
else
|
|
search_ok=0
|
|
- EXTRA_BROWSERS=`find_browsers`
|
|
-
|
|
- if test -d "/usr/lib/netscape"\
|
|
- || test -d "/usr/local/netscape"\
|
|
- || test -d "/opt/netscape"\
|
|
- || test -d "/usr/local/lib/netscape"\
|
|
- || test -d "/usr/dt/appconfig/netscape"\
|
|
- || test "$MOZILLA_HOME" != "" -a -d "$MOZILLA_HOME"\
|
|
- || test "$EXTRA_BROWSERS" != ""
|
|
- then
|
|
+ case ${FOUND_NS} in
|
|
+ TRUE)
|
|
user_echo $integrate_netscape3
|
|
found_netscape
|
|
- else
|
|
+ ;;
|
|
+ *)
|
|
user_prompt "$integrate_netscape2"
|
|
getyesno $INSTALLER_NO
|
|
if [ "$ANSWER" = "$INSTALLER_YES" ]
|
|
@@ -2212,8 +2203,9 @@
|
|
else
|
|
user_echo $integrate_netscape6
|
|
fi
|
|
+ ;;
|
|
+ esac
|
|
fi
|
|
- fi
|
|
|
|
# Create utility script files in install root.
|
|
create_wfica_script
|