--- install.sh.orig Thu Nov 22 12:38:09 2001 +++ install.sh Tue Nov 27 02:05:55 2001 @@ -228,7 +228,16 @@ mvv='' # SunOS mv (no -v verbose option) ;; - i[3456]86:NetBSD) + i[3456]86:FreeBSD|i[3456]86:NetBSD) + cpf='-f' + if test "$verbose" -gt '1'; then + chmodv='-v' + mkdirv='-v' + fi + if test "$verbose" -gt '0'; then + mvv='-v' + cpv='-v' + fi ;; i[3456]86:Linux) @@ -477,10 +486,10 @@ # Opera enviroment if test \"\${OPERA_DIR}\" = '' ; then - if test -d /usr/share/opera ; then - OPERA_DIR=/usr/share/opera + if test -d %%DATADIR%% ; then + OPERA_DIR=%%DATADIR%% else - echo \"OPERA_DIR unset and not in default location (/usr/share/opera)\" + echo \"OPERA_DIR unset and not in default location (%%DATADIR%%)\" exit 1 fi fi @@ -491,18 +500,11 @@ for DIR in \\ \"\${HOME}/.opera/plugins\" \\ ${plugin_dir} \\ - /usr/lib/opera/plugins \\ - /usr/local/Acrobat4/Browsers/intellinux \\ - /usr/java/jre1.3.1/plugin/i386/ns4 \\ - /usr/lib/RealPlayer8/Plugins \\ - /usr/lib/realplay/plugins \\ - /usr/lib/RealPlayer8 \\ - /usr/lib/realplay \\ + %%PREFIX%%/lib/opera/plugins \\ + %%PREFIX%%/Acrobat4/Browsers/intellinux \\ + %%PREFIX%%/java/linux-*jdk*/jre/plugin/i386/ns4 \\ \"\${HOME}/.netscape/plugins\" \\ - /opt/netscape/plugins \\ - /usr/lib/netscape/plugins \\ - /usr/local/netscape/plugins \\ - /usr/local/lib/netscape/plugins \\ + %%PREFIX%%/lib/netscape-linux/plugins \\ ; do if test -d \${DIR} ; then OPERA_PLUGIN_PATH=\"\${OPERA_PLUGIN_PATH}\":\"\${DIR}\"